开发者

Is it possible to make svn execute a script each time when someone commited something?

I've install subversion, and want to write my own script to automate the web deployment.

Is it possible to trigger the scri开发者_如何学Pythonpt when commiting?

It's neither ssh nor apache based, only rely on svnserve.


Sure, Subversion provides a post-commit hook that does exactly this. The Subversion hooks are found in a hooks directory in the repository, and the default installation contains template files (*.tmpl) that show examples of each type of hook.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜