svn异常:svn cleanup failed–previous operation has not finished; run cleanup if it was interrupted

今天svn同步时,

出现异常:
svn cleanup failed–previous operation has not finished; run cleanup if it was interrupted
百度后,大多解决办法:
team--> Refresh/Cleanup
但是这种方法貌似也不可用,也会出错的。
还好用另外一种更加直接的办法。
===========================================

解决方法:清空svn的队列

1.下载sqlite3.exe

2.找到你项目的.svn文件,查看是否存在wc.db。如果存在,那么执行下边的步骤

3.将sqlite3.exe放到.svn的同级目录

4.启动cmd打开sqlite3.exe所在目录,执行sqlite3 .svn/wc.db "select * from work_queue"【回车】(注意,不用加分号)

5.看到很多记录,下一步执行sqlite3 .svn/wc.db "delete from work_queue"

6.ok了,现在在到项目里面,执行cleanup,完全没问题了,图标状态也已经恢复了。

 

说的不够直接,上图:

当然,这个方法不是出自于我。来源:http://blog.csdn.net/luojian520025/article/details/22196865

我只是将其说的更加详细一点。

 

posted on 2015-05-28 09:46  雨停  阅读(219)  评论(0编辑  收藏  举报

导航