Download location is a repository.
remove link to deleted page "clone"
|Deletions are marked like this.||Additions are marked like this.|
|Line 19:||Line 19:|
|Get hook by [[Clone | cloning]] repository:||Get hook by cloning repository:|
This hook is not distributed with Mercurial.
Authors: Mads Sülau Jørgensen, Marcus Lindblom
Get hook by cloning repository:
hg clone http://bitbucket.org/madssj/mercurial-trac-hook/
and install the 'trachook.py' module somewhere inside your PYTHONPATH.
Then configure your .hgrc to enable the hook by adding the following lines:
[hooks] changegroup = python:trachook.hook [trac-hook] root = /path/to/trac url = http://url/to/trac
Nota bene: if there are other changegroup hooks, just add a suffix to [each], like: changegroup.trac = python:trachook.hook.
This hook is partially similar to HgTracExtension.