README
author Christian Ebert <blacktrash@gmx.net>
Thu, 11 Oct 2007 13:10:33 +0200
changeset 264 7c637046c0e2
parent 239 a0b8165fcec9
child 321 ce5474dd2a9a
permissions -rw-r--r--
walkopts for kwexpand, kwshrink, kwfiles commands kwfiles optionally shows ignored files or all flagged Use pathto method to print kw filenames if possible. Commands abort with meaningful error _weedcandidates renamed to _weedfiles, and only for commands. For kwrepo.commit we could get modified + added from kwrepo.status(match=ui.kwfmatcher) -- but this would mean to read manifest before commit, and again after for expansion.

$Id$

keyword extension for Mercurial SCM
===================================

install
-------

Either copy hgkw/keyword.py into the hgext directory of your
Mercurial installation.
Then add the lines:

[extensions]
hgext.keyword =

to your hgrc file.

Or run "python setup.py install".
See also "pyton setup.py --help".
Then add the line:

[extensions]
keyword = /path/to/hgkw/keyword.py

to your hgrc, where /path/to/ is somewhere in your $PYTHONPATH.


first steps and online help
---------------------------

$ hg keyword help
$ hg kwdemo


testing
-------

Copy hgkw/keyword.py into the hgext directory of your Mercurial
source tree. Copy tests/test-keyword, tests/test-keyword.out into
the tests directory of your Mercurial source tree. Change to that
directory and run:

$ python run-tests.py test-keyword

and then keep your fingers crossed ...