TortoiseSVN(本人版本1.7.7),右键的日志信息对话框,选中文件右键的编辑日志信息,提交新的日志信息会报错,如下:
"Repository has not been enabled to accept revision propchanges; ask the administrator to create a pre-revprop-change hook"
解决方案:
在仓库文件夹下,找到hooks文件夹,增加文件"pre-revprop-change.bat",内容如下
rem Only allow log messages to be changed.
if "%4" == "svn:log" exit 0
echo Property '%4' cannot be changed >&2
exit 1
之后,更改日志信息即可提交!
参考资料:
http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-repository-hooks.html