svn報錯cleanup failed–previous operation has not finished; run cleanup if it was interrupted的解決辦法

今天在svn提交的時候它卡頓了一下,我覺得已經提交完了,就按了一下,結果就再也恢復不了,也繼續不了了...sql

報錯 svn

cleanup failed–previous operation has not finished; run cleanup if it was interruptedspa

試過執行cleanup,結果也是失敗,在網上查了資料,解決辦法以下:.net

1.下載sqlite3.exesqlite

2.找到項目的.svn結尾的文件.(這個文件是被隱藏的,通常就是在整個svn的項目根目錄).能夠看到裏面有wc.db這樣一個文件.blog

3.把下載好的sqlite3放到.svn同級目錄處.隊列

4.打開cmd,到.svn所在的這個路徑,而後執行sqlite3 .svn/wc.db "select * from work_queue"get

5.執行完之後能夠看到cmd窗口裏會有一條條的記錄.這些就是svn執行了一半的隊列.cmd

6.繼續執行sqlite3 .svn/wc.db "delete from work_queue"it

7.再執行一次sqlite3 .svn/wc.db "select * from work_queue",看下是否還能檢索出隊列,若是沒有出現任何記錄,那表示已經刪除成功了.

8.回到svn裏出錯的文件夾,右鍵,執行clean up命令,就能夠進行clean up了.

原文出處:http://blog.csdn.net/luojian520025/article/details/22196865

相關文章
相關標籤/搜索