【SVN】Visual SVN 「功能列」、「版控燈號」消失解決方法

SVN 進行 CommitUpdate 有時候會發生 Lock 的情況,

這時候 SVN 會請我們執行「Cleanup」,

但有時候執行完「Cleanup」,有一定機率會導致永久Lock情況。

永久Lock會導致Visual Studio 的 Visual SVN 「功能列」、「版控燈號」消失。

SVN報錯訊息

Previous operation has not finished;
run ‘cleanup’ if it was interrupted Please execute the ‘Cleanup’ command.

解決步驟

  1. 下载「sqlLite」,選擇「Precompiled Binaries for Windows」下載。
  2. 將下載回來的「sqlite3.exe」放到專案根目錄
  3. 使用「cmd.exe」,並將路徑移至專案根目錄
  4. 執行指令: 「sqlite3.exe .svn/wc.db “select * from work_queue”」。
  5. 最後在執行指令: 「sqlite3.exe .svn/wc.db “delete from work_queue”」。
  6. 接著在專案根目錄執行「Cleanup」,即可排除此問題。

 

參考文獻:
http://blog.csdn.net/luojian520025/article/details/22196865
http://kaifage.com/notes/85/previous-operation-has-not-finished-executive-svn-cleanup-failed.html

訂閱
通知
guest
0 留言
預約回饋
查看所有留言