将属性更改提交到SVN存储库的主干时出错

时间:2012-04-20 16:02:22

标签: svn tortoisesvn visualsvn-server

我对存储库的主干属性进行了更改。具体来说,我已经修改了extern以指向更新的版本。

当我提交时,我收到以下错误。

Commit failed (details follow):
Commit blocked by pre-commit hook (exit code 1) with output:
error: you don't have enough permissions for this transaction:
you can't update properties of trunk/  

1 个答案:

答案 0 :(得分:3)

我已经找到了问题。

更改是位于存储库根目录下的\ conf \ svnperms.conf文件。该文件如下所示:

[_default_]
trunk/.*          = *(add,remove,update)
branches/[^/]+/.* = *(add,remove,update)
tags/[^/]+/       = *(add,remove)
trunk/            = *(add)
branches/         = *(add)
tags/             = *(add)

我做了如下所示的修改。

trunk/            = *(add)

trunk/            = *(add,update)