1. 程式人生 > >【SVN】SVN錯誤[ locked; try performing 'cleanup']的解決辦法

【SVN】SVN錯誤[ locked; try performing 'cleanup']的解決辦法

用Eclipse的svn外掛commit的時候,發生如下異常

Some of selected resources were not committed.
svn: Working copy 'C:\project\xxxxx\xxxxx-web\test'
locked; try performing 'cleanup'

於是,試著cleanup一下(team選單下的clean up)
但clean up也發生異常
*** Cleanup
svn cleanup "C:\project\xxxxx\xxxxx-web\test"
svn: Error processing command 'modify-entry' in
'C:\project\xxxxx\xxxxx-web\test'
svn: Error modifying entry for 'spring'
svn: 'spring' is not under version control
*** Error (took 00:01.075

找到這個test路徑開啟[.svn]資料夾,發現裡面有[lock]和[log]檔案
log檔案內容

<modify-entry
   name="spring"
   working-size="working"/>

。解決辦法:

1.刪除lock檔案
2.刪除log檔案
3.clean up