有时需要对提交的版本,进行日志编辑,但操作后经常会有以下弹出错误
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 uncahnaged
Error setting property "log":
Repository has not been enabled to accept revision propchanges;
ask the administrator to create a pre-revprop-change hook
解决办法如下:
进入visualsvn管理界面
找到你的项目目录,右击选择中 “所有任务-》Manage Hooks”
选择 “Pre-revision property change hook”,然后点击下面的编辑
敲两个回车,然后点OK关闭就可以了。
其实就是在项目目录里的hooks子目录下创建了一个空白pre-revprop-change.cmd
我试过了,是成功的。
以下是原文解决办法
From VisualSVN Manager, right click on your repo and select “All Tasks \ Manage Hooks”. Select “Pre-revision property change hook” and edit that – enter a couple of blank lines then click ok. Done. The hook will now be listed in bold indicating it exists.
原创文章,转载请注明: 转载自读思客



