开发者

Where do you put python code for hooks

开发者 https://www.devze.com 2023-02-22 01:13 出处:网络
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

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

精彩评论

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