[英]SVN 409 conflict on commits and updates
過去一年來,我們一直在使用SVN,並且當我們遷移到在線服務器時,我們開始遇到此錯誤:
Commit: Commit failed (details follow): File or directory 'x.php' is out of date;
try updating resource out of date;
try updating CHECKOUT of '/!svn/ver/491/x.php': 409 Conflict (http://svn.example.com)
我們目前正在使用SmartSVN 6.5,並且我們也已經對RapidSVN和Syncro進行了測試(但是我們有很多Ubunutu用戶,因此我們無法使用烏龜)
在一開始的時候,盡管這如何解決SVN 409沖突錯誤會有所幫助,但並不是我們仍然面臨相同的錯誤,現在更荒謬了。
主要的問題是,收到錯誤后,您將無法擺脫它。 更新不能解決,還原不能解決。 您只是被錯誤困住了。 唯一可行的方法是從SVN中刪除文件並添加您的版本,但這與我們首先使用SVN的原因背道而馳
這是我們的Apache配置(是的,自動版本設置為ON)
<Location />
DAV svn
SVNPath /home/example/svn
SVNAutoversioning on
AuthType Basic
AuthName "Access Restricted"
AuthUserFile /home/example/svn-auth-file
Require valid-user
</Location>
<Directory />
<Files ~ "^\.ht">
Order allow,deny
Allow from all
Satisfy All
</Files>
<Files ~ "^error_log">
Order allow,deny
Allow from all
Satisfy All
</Files>
</Directory>
以下是一些觀察結果:
請指教,我們快要瘋了
chown -R apache:apache svn
chmod -R 770 svn
首先從目錄中刪除沖突的文件
svn狀態svn清理svn更新svn提交
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.