svn cleanup clean up 失败的解决办法

http://hustpawpaw.blog.163.com/blog/static/1842283242014623443154/

 

执行cleanup时 报错svn cleanup failed–previous operation has not finished; run cleanup if it was interrupted
 
SVN cleanup的时候失败, 提醒要先cleanup, 别提有多恶心了。上一次加班时,实在受不了就重新checkout了。今天查到了解决的方法,记录一下,原文地址:
http://blog.csdn.net/luojian520025/article/details/22196865

解决方法:清空svn的队列

1.下载sqlite3.exe    【见附件】

2.找到你项目的.svn文件,查看是否存在wc.db

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

4.启动cmd执行sqlite3 .svn/wc.db "select * from work_queue"

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

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


分享到: 微信 更多