Where do you put python code for hooks
I have created a python script I want a mercurial hook to call but what I cant figure out is wher开发者_StackOverflow中文版e the working directory (or where to start the path to the script) should be from.
I know this probably isnt right but I need a way to set a hook like... changegroup=python:e:\www\hg\hooks\teamTrack.py:associate
Thanks in advance.
if you put the python file in your python path you can reference it by name without a path in the hgrc.
精彩评论