如何修改SVN已提交项目的注释

2017.11.13 svn

1、在历史记录中修改注释,默认会提示

DAV request failed;it's possible that the repository's pre-revprop-change hook either failed or is non-existent
At least one property change failed; repository is unchanged.

2、因为SVN库中的日志本身是没有进行版本管理的,为防止误操作导致原日志信息丢失,所以缺省禁止对其进行修改。

如果要能在客户端进行修改,必须在repository的hook目录下新建一个pre-revprop-change.bat,内容如下:

if "%4" == "svn:log" exit 0
echo Property '%4' cannot be changed >&2
exit 1

更新列表:

*

参考文章:

相关阅读