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 >&2exit 1
转载于:https://www.cnblogs.com/zq8024/archive/2012/09/01/2666923.html