SVN client side hook

时光毁灭记忆、已成空白 提交于 2019-12-12 08:39:42

问题


Does SVN have client-side hook support like in TortoiseSVN? I need a hook so that when I send a commit the browser opens a specific url.


回答1:


No. Client-side hooks are a TortoiseSVN-specific feature.




回答2:


Use an alias for SVN i.e. a python script that validates your inputs then forwards the call on to the real SVN. It might take a bit of work to get advanced functionality though, such as understanding changelist content, but there's libraries which can help and if you hunt around the internet someone has probably make something similar to what you want already.

http://pysvn.tigris.org/ http://top-frog.com/2009/04/23/client-side-pre-and-post-svn-hooks-with-unix-aliases/



来源:https://stackoverflow.com/questions/2916098/svn-client-side-hook

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!