svn报错:Previous operation has not finished; run 'cleanup' if it was interrupted的解决办法

因为目前公司版本文档是记录在excel上的,经常有人打开excel更新项目进度,当一个人打开的时候,另一个人就无法进行操作,此时再进行svn操作,就会出各种莫名其妙的问题,Previous operation has not finished; run ‘cleanup’ if it was interrupted就是其中一个,这个应该是svn的执行队列出现了死循环,解决办法如下:

1、下载sqlite3.exe,放到svn项目根目录下面的.svn文件夹,跟.svn同个目录,比如我的项目跟地址在f://项目,那就放在f://项目/.svn下,如下:
下载地址:
http://download.csdn.net/download/liyys/9958175
svn报错:Previous operation has not finished; run 'cleanup' if it was interrupted的解决办法_第1张图片

2、打开cmd,切到svn项目的根地址
svn报错:Previous operation has not finished; run 'cleanup' if it was interrupted的解决办法_第2张图片
3、输入 sqlite3 .svn/wc.db “select * from work_queue”,可以看到队列里有数据
svn报错:Previous operation has not finished; run 'cleanup' if it was interrupted的解决办法_第3张图片
4、删除该队列,执行sqlite3 .svn/wc.db “delete from work_queue”
svn报错:Previous operation has not finished; run 'cleanup' if it was interrupted的解决办法_第4张图片
5、再试一下,执行clean up,看下是否成功

你可能感兴趣的:(java)