2012-04-20 101 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) 
相關問題