author | Christian Ebert <blacktrash@gmx.net> |
Sun, 07 Jun 2009 18:59:18 +0200 | |
changeset 561 | efeb09cb3760 |
parent 321 | ce5474dd2a9a |
child 562 | b1aa7b64890b |
permissions | -rw-r--r-- |
190 | 1 |
$Id$ |
2 |
||
3 |
keyword extension for Mercurial SCM |
|
4 |
=================================== |
|
5 |
||
561
efeb09cb3760
Refer users to distribution or 0.9.2compat branch
Christian Ebert <blacktrash@gmx.net>
parents:
321
diff
changeset
|
6 |
CAVEAT: Please use the keyword extension distributed with |
efeb09cb3760
Refer users to distribution or 0.9.2compat branch
Christian Ebert <blacktrash@gmx.net>
parents:
321
diff
changeset
|
7 |
Mercurial > 1.0.2! |
efeb09cb3760
Refer users to distribution or 0.9.2compat branch
Christian Ebert <blacktrash@gmx.net>
parents:
321
diff
changeset
|
8 |
For Mercurial 0.9.2 to 1.0.2 install the 0.9.2compat branch. |
efeb09cb3760
Refer users to distribution or 0.9.2compat branch
Christian Ebert <blacktrash@gmx.net>
parents:
321
diff
changeset
|
9 |
|
efeb09cb3760
Refer users to distribution or 0.9.2compat branch
Christian Ebert <blacktrash@gmx.net>
parents:
321
diff
changeset
|
10 |
The default and stable branches are meant for development. |
efeb09cb3760
Refer users to distribution or 0.9.2compat branch
Christian Ebert <blacktrash@gmx.net>
parents:
321
diff
changeset
|
11 |
|
190 | 12 |
install |
13 |
------- |
|
14 |
||
15 |
Either copy hgkw/keyword.py into the hgext directory of your |
|
16 |
Mercurial installation. |
|
17 |
Then add the lines: |
|
18 |
||
19 |
[extensions] |
|
20 |
hgext.keyword = |
|
21 |
||
22 |
to your hgrc file. |
|
23 |
||
24 |
Or run "python setup.py install". |
|
25 |
See also "pyton setup.py --help". |
|
26 |
Then add the line: |
|
27 |
||
28 |
[extensions] |
|
29 |
keyword = /path/to/hgkw/keyword.py |
|
30 |
||
31 |
to your hgrc, where /path/to/ is somewhere in your $PYTHONPATH. |
|
32 |
||
33 |
||
34 |
first steps and online help |
|
35 |
--------------------------- |
|
36 |
||
321
ce5474dd2a9a
README: fix help instruction
Christian Ebert <blacktrash@gmx.net>
parents:
239
diff
changeset
|
37 |
$ hg help keyword |
190 | 38 |
$ hg kwdemo |
39 |
||
40 |
||
41 |
testing |
|
42 |
------- |
|
43 |
||
44 |
Copy hgkw/keyword.py into the hgext directory of your Mercurial |
|
45 |
source tree. Copy tests/test-keyword, tests/test-keyword.out into |
|
46 |
the tests directory of your Mercurial source tree. Change to that |
|
47 |
directory and run: |
|
48 |
||
49 |
$ python run-tests.py test-keyword |
|
50 |
||
51 |
and then keep your fingers crossed ... |