Previous operation has not finished; run 'cleanup' if it was interrupted

来源:互联网 发布:清华美院艺术史论 知乎 编辑:程序博客网 时间:2024/05/29 10:12

SVN使用过程中有时候,人为中断update操作,造成SVN命令未执行完毕,进而无法进行cleanup操作。
执行cleanup一直提示“Previous operation has not finished; run 'cleanup' if it was interrupted“

具体解决方案如下:
1.    
下载sqlite3.exe(http://download.csdn.NET/detail/whyzzj/6346529)

2.    sqlite3.exe放到svn 项目的主目录下(和.svn目录同级)。

3.    以管理权限运行cmd,定位到svn 项目的主目录下。

4.    执行  sqlite3 .svn/wc.db "select * from work_queue" 查询队列记录。

5.    执行  sqlite3 .svn/wc.db "delete from work_queue".把队列记录清空。

6.    执行 sqlite3 .svn/wc.db "select * from work_queue" 确认队列是否已被清空

7.    最后再试一下clean up

0 0