我在 linux 上有一个主要的 svn 服务器,我正在使用 VisualSvn Server 制作一个只读同步版本。我正在关注关于
http://svnbook.red-bean.com/en/1.5/svn.reposadmin.maint.html#svn.reposadmin.maint.replication
和
http://blogs.geniuscode.net/RyanDHatch/?p=9
但我仍然收到错误
svnsync: DAV request failed; it's possible that the repository's pre-revprop-change hook either failed or is non-existent
svnsync: At least one property change failed; repository is unchanged
svnsync: Error setting property 'sync-lock':
could not remove a property
我已经使用 svn 管理控制台在目标服务器上添加了适当的钩子(我猜它是需要这个钩子的目标服务器,而不是源服务器),两者都有一些批处理逻辑来检查用户名,并且一个只是“@ECHO OFF”并且没有任何变化,我仍然得到错误。我检查了 repo hooks 文件夹和 VisualSvn 服务器创建 .cmd 文件,所以我尝试复制没有扩展名的文件,这是 *nix 约定,仍然没有改变。
有任何想法吗?