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
原文地址:https://blog.csdn.net/weixin_30737363/article/details/97249438
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。