提交或更新SVN文件時,提示須要先執行Clean up,但在Clean up時又彈出錯誤信息:sql

Cleanup failed to process the following paths:xxxxxxx Previous operation has not finished; run 'cleanup' if it was interruptedshell

Please execute the 'Cleanup' command.svn

Cleanup failed to process the following paths xxxx Previous operation has not finished.jpg

本人英文水平欠佳,按此提示文字大體理解爲:由於上一操做還未完成,致使本次執行失敗,請執行清理命令。post

看到此提示就汗顏了,明明正在執行清理命令,居然提醒「清理失敗,請執行清理命令」,由此進入死循環......spa

搜索資料一番以後發如今.svn/wc.db中的work_queue表中記錄了SVN的工做隊列,須要清空工做隊列,讓SVN認爲已經沒有「Previous operation」了,就能夠正常執行當前命令了。3d

操做步驟以下:版本控制

1. 下載 Sqlite3.exesqlite

2. 將Sqlite3.exe放到.svn的同級目錄blog

3. 在cmd控制檯中將盤符轉到svn版本控制的文件夾隊列

4. 執行sqlite3 .svn/wc.db "select * from work_queue"

5. 看到work_queue中保存的工做隊列

6. 執行sqlite3 .svn/wc.db "delete from work_queue" 刪除工做隊列

7. 從新執行Cleanup命令,成功!

Sqlite .svn wc.db delete from work_queue.jpg

http://bigmiao.com/Program/Item/61