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
+ − 31
$ hg keyword help
+ − 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 ...