开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜