【问题标题】:svn pre-revprop-changes errorsvn pre-revprop-更改错误
【发布时间】:2013-07-18 11:40:39
【问题描述】:

我已经不知所措了。我现在有这个问题两天了,我想出的答案没有效果。我在网上搜索了可能的解决方案并做了一些,但仍然没有效果。我看到了一些答案,但它们在 linux 中,如果我要在 windows 中执行这些命令,我​​不知道使用什么命令。

我想同步两个存储库。我遵循了here 和here also 的程序。

这是我得到的错误:
svnsync: E165006: Repository has not been enabled to accept revision propchanges;

我已经编辑了 pre-revprop-change 钩子,这是我添加的内容:

IF "%3" == "sync_user" (goto :label1) else (echo "Only sync_user can make changes">&2) 
exit1
:label1
exit 0

我已经更改了其中一个存储库的权限,但我仍然收到该错误。

【问题讨论】:

    标签: svn svnsync


    【解决方案1】:

    pre-revprop-change 钩子必须命名为(在 Windows 中)pre-revprop-change.bat 以使操作系统能够执行它。

    【讨论】:

      猜你喜欢
      • 2012-05-30
      • 2011-04-02
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多