author | Christian Ebert <blacktrash@gmx.net> |
Wed, 08 Jul 2009 03:25:07 +0200 | |
branch | 0.9.2compat |
changeset 610 | 5b87f3ea105a |
parent 560 | 42502f8fc5b0 |
child 984 | a4ea5c2d3ff3 |
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:
322
diff
changeset
|
6 |
[ standalone and backwards compatible version ] |
42502f8fc5b0
(0.9.2compat) document Mercurial version range for standalone extension
Christian Ebert <blacktrash@gmx.net>
parents:
322
diff
changeset
|
7 |
|
42502f8fc5b0
(0.9.2compat) document Mercurial version range for standalone extension
Christian Ebert <blacktrash@gmx.net>
parents:
322
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:
322
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:
322
diff
changeset
|
10 |
distribution. |
42502f8fc5b0
(0.9.2compat) document Mercurial version range for standalone extension
Christian Ebert <blacktrash@gmx.net>
parents:
322
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 |
||
322
b1ac738404f8
(0.9.2compat) get backwards compatible changes from default branch
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 ... |