1、svn有時候會因為一些莫名其妙的問題導致的不能正常使用,報錯“cleanup failed to process the following paths …… previous operation has not finished”,而我們先按照執行“cleanup”操作管不管用,操作如下:
進入項目的根目錄下,空白處單擊右鍵-鼠標指向后如下圖,單擊
命令,如果執行成功那就好了。
2、如果上面操作不成功,svn執行clean up命令時報“Previous operation has not finished; run 'cleanup' if it was interrupted”錯誤,如下圖:
1)出現問題源:
本地.svn\wc.db數據庫文件里面存儲了svn的operation,表名是work_queue。
2)解決方案:
(1)下載db管理工具sqlite3, 鏈接:https://pan.baidu.com/s/1G0qw8YDf2-qPT1ueY-03xw 密碼:r1c7;
(2)將sqlite3.exe放置到對應cleanup異常的svn項目下的.svn(此目錄默認是隱藏的)目錄下:
(3)在.svn目錄下shift+鼠標右鍵,當前位置打開命令:
(4)執行輸入sqlite3 wc.db:
(5)輸入 .table 查看所有表:
(6)輸入delete from work_queue; 刪除WORK_QUEUE表:
(7)測試cleanup: