author | Christian Ebert <blacktrash@gmx.net> |
Wed, 14 Sep 2011 16:19:33 +0100 | |
branch | 0.9.2compat |
changeset 984 | a4ea5c2d3ff3 |
parent 560 | 42502f8fc5b0 |
parent 886 | a8ae86023c67 |
permissions | -rw-r--r-- |
190 | 1 |
$Id$ |
2 |
||
3 |
keyword extension for Mercurial SCM |
|
4 |
=================================== |
|
5 |
||
560
42502f8fc5b0
(0.9.2compat) document Mercurial version range for standalone extension
Christian Ebert <blacktrash@gmx.net>
parents:
321
diff
changeset
|
6 |
[ standalone and backwards compatible version ] |
561
efeb09cb3760
Refer users to distribution or 0.9.2compat branch
Christian Ebert <blacktrash@gmx.net>
parents:
321
diff
changeset
|
7 |
|
560
42502f8fc5b0
(0.9.2compat) document Mercurial version range for standalone extension
Christian Ebert <blacktrash@gmx.net>
parents:
321
diff
changeset
|
8 |
CAVEAT: Only use this version with Mercurial 0.9.2 to 1.0.2! |
42502f8fc5b0
(0.9.2compat) document Mercurial version range for standalone extension
Christian Ebert <blacktrash@gmx.net>
parents:
321
diff
changeset
|
9 |
With Mercurial > 1.0.2 use the extension included in the |
42502f8fc5b0
(0.9.2compat) document Mercurial version range for standalone extension
Christian Ebert <blacktrash@gmx.net>
parents:
321
diff
changeset
|
10 |
distribution. |
561
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 ... |