2012-04-20 68 views
1

我对存储库的主干属性进行了更改。具体而言,我修改了一个extern以指向更新的版本。将属性更改提交到我的SVN存储库的主干时出错

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

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

那么你可以提交到主干文件或新目录?这里的错误信息很清楚(在我看来)。也许有一个预先提交的钩子(住在服务器上),这会阻碍你进行更改。联系您的SVN管理员,并询问他。 – mliebelt 2012-04-20 20:14:50

回答

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)