svn执行update操作后出现:Error : Previous operation has not finished; run 'cleanup' if it was interrupted.

时间:2022-04-27 09:28:24
参考来源于:http://blog.csdn.net/jinyuancai/article/details/68922372
 
svn执行update操作后出现:
     Error : Previous operation has not finished; run 'cleanup' if it was interrupted.
     Error : Please execute the 'Cleanup' command.
 
svn执行update操作后出现:Error : Previous operation has not finished; run 'cleanup' if it was interrupted.
 
 
提示要去执行下Cleanup命令,于是就去执行下Cleanup命令,结果出现了:
 
svn执行update操作后出现:Error : Previous operation has not finished; run 'cleanup' if it was interrupted.
 
于是,解决方法只能是清空掉svn的队列。具体操作步骤如下:
1.下载 sqlite3.zip
2.找到你svn项目下的.svn,查看是否存在wc.db.(ps:.svn是被隐藏的,你可以修改window配置显示隐藏文件,也可以直接svn项目下搜索wc.db)
3.把下载的sqlite3压缩包解压,然后把sqlite3.exe放在与wc.db同一目录下。
 
svn执行update操作后出现:Error : Previous operation has not finished; run 'cleanup' if it was interrupted.
 
4.打开命令提示符,进入到.svn目录下。执行命令:
 
sqlite3 wc.db "select * from work_queue"
 
执行结果会查询到一些记录
 
svn执行update操作后出现:Error : Previous operation has not finished; run 'cleanup' if it was interrupted.

5.这些记录delete掉,即可。执行命令:
 
sqlite3 wc.db "delete from work_queue"


svn执行update操作后出现:Error : Previous operation has not finished; run 'cleanup' if it was interrupted.

 
6.最后再一次执行SVN的Clean Up操作,即可。
svn执行update操作后出现:Error : Previous operation has not finished; run 'cleanup' if it was interrupted.