equal
deleted
inserted
replaced
1 $Id$ |
1 $Id$ |
2 |
2 |
3 keyword extension for Mercurial SCM |
3 keyword extension for Mercurial SCM |
4 =================================== |
4 =================================== |
5 |
5 |
|
6 CAVEAT: Please use the keyword extension distributed with |
|
7 Mercurial > 1.0.2! |
|
8 For Mercurial 0.9.2 to 1.0.2 install the 0.9.2compat branch. |
|
9 |
|
10 The default and stable branches are meant for development. |
|
11 |
6 install |
12 install |
7 ------- |
13 ------- |
8 |
14 |
9 Either copy hgkw/keyword.py into the hgext directory of your |
15 Run "python setup.py install". |
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". |
16 See also "pyton setup.py --help". |
20 Then add the line: |
17 Then add the line: |
21 |
18 |
22 [extensions] |
19 [extensions] |
23 keyword = /path/to/hgkw/keyword.py |
20 keyword = /path/to/hgkw/keyword.py |
33 |
30 |
34 |
31 |
35 testing |
32 testing |
36 ------- |
33 ------- |
37 |
34 |
38 Copy hgkw/keyword.py into the hgext directory of your Mercurial |
35 $ cd tests |
39 source tree. Copy tests/test-keyword, tests/test-keyword.out into |
36 $ python run-tests.py --with-hg=/path/to/hg test-keyword |
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 ... |
|