svn 修改日志

来源:互联网 发布:淘宝化妆品开直通车 编辑:程序博客网 时间:2024/05/16 01:10

服务器为windows方法:找到版本库中hooks目录下,将pre-revprop-change.tmpl复制为pre-revprop-change.bat
然后修改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


原创粉丝点击