允许修改Svn注释

原文链接:http://www.cnblogs.com/zq8024/archive/2012/09/01/2666923.html

hooks目录下面的那些示例是用在linux下面的,在windows中无法运行,需要修改。 

在hooks目录下面增加pre-revprop-change.bat,内容:

# Here is an example hook script, for a Unix /bin/sh interpreter.# For more examples and pre-written hooks, see those in# the Subversion repository at# [url]http://svn.collab.net/repos/svn/trunk/tools/hook-scripts/[/url] and# [url]http://svn.collab.net/repos/svn/trunk/contrib/hook-scripts/[/url]rem Only allow log messages to be changed.if "%4" == "svn:log" exit 0echo Property '%4' cannot be changed >&2

exit 1 

  

转载于:https://www.cnblogs.com/zq8024/archive/2012/09/01/2666923.html

上一篇:Vue 和 React 的优点分别是什么?


下一篇:fedora 16 下搭建git+apache+webdav环境