author | Christian Ebert <blacktrash@gmx.net> |
Tue, 13 May 2008 08:32:01 +0200 | |
branch | stable |
changeset 450 | 86c17b3e9100 |
parent 321 | ce5474dd2a9a |
child 495 | 791e48d817e8 |
child 560 | 42502f8fc5b0 |
child 561 | efeb09cb3760 |
permissions | -rw-r--r-- |
190 | 1 |
$Id$ |
2 |
||
3 |
keyword extension for Mercurial SCM |
|
4 |
=================================== |
|
5 |
||
6 |
install |
|
7 |
------- |
|
8 |
||
9 |
Either copy hgkw/keyword.py into the hgext directory of your |
|
10 |
Mercurial installation. |
|
11 |
Then add the lines: |
|
12 |
||
13 |
[extensions] |
|
14 |
hgext.keyword = |
|
15 |
||
16 |
to your hgrc file. |
|
17 |
||
18 |
Or run "python setup.py install". |
|
19 |
See also "pyton setup.py --help". |
|
20 |
Then add the line: |
|
21 |
||
22 |
[extensions] |
|
23 |
keyword = /path/to/hgkw/keyword.py |
|
24 |
||
25 |
to your hgrc, where /path/to/ is somewhere in your $PYTHONPATH. |
|
26 |
||
27 |
||
28 |
first steps and online help |
|
29 |
--------------------------- |
|
30 |
||
321
ce5474dd2a9a
README: fix help instruction
Christian Ebert <blacktrash@gmx.net>
parents:
239
diff
changeset
|
31 |
$ hg help keyword |
190 | 32 |
$ hg kwdemo |
33 |
||
34 |
||
35 |
testing |
|
36 |
------- |
|
37 |
||
38 |
Copy hgkw/keyword.py into the hgext directory of your Mercurial |
|
39 |
source tree. Copy tests/test-keyword, tests/test-keyword.out into |
|
40 |
the tests directory of your Mercurial source tree. Change to that |
|
41 |
directory and run: |
|
42 |
||
43 |
$ python run-tests.py test-keyword |
|
44 |
||
45 |
and then keep your fingers crossed ... |