1. 程式人生 > >svn A conflict in the working copy obstructs the current operation

svn A conflict in the working copy obstructs the current operation

多人聯合開發時發現有時程式碼不能正常提交,跟svn版本庫同步的時候,還提示程式碼沒有不一樣的,但是檔案圖示上又是一個特殊的衝突符號,不是那種大紅的衝突符號.更新不了也提交不了.就算把程式碼改了再提交都不行.這是svn的一種特殊的衝突導致的

提示:
A conflict in the working copy obstructs the current operation

    A conflict in the working copy obstructs the current operation
svn: Commit failed (details follow):
svn: Aborting commit: 'X:\XXX\XXX\src\com\XXX\XXX\dao\impl\TestDaoImpl.java' remains in conflict

解決辦法:

右擊有問題的目錄或者檔案–>team–>Show Tree Conflict–>在Eclpise中會出現一個Tab檢視顯示Tree Conflict的內容,一個一個選擇列表中的衝突右擊將其標誌為已解決/Resolved,然後回到專案再提交更改就可以了