svn报错cleanup failed–previous operation has not finished; run cleanup if it was interrupted的解决办法

今天在svn提交的时候它卡顿了一下,我以为已经提交完了,就按了一下,结果就再也恢复不了,也继续不了了...

报错

cleanup failed–previous operation has not finished; run cleanup if it was interrupted

试过执行cleanup,结果也是失败,要更新先要cleanup,但是cleanup的失败信息又叫我cleanup……这是一个死循环!

感觉这是一个设计上的缺陷:使用工作队列来保存数据,后一个操作依赖于前一个操作的结果,一旦失败就要使用cleanup操作。但是,当cleanup操作失败的时候这个机制就陷入了死循环。

解决办法就从它的数据库中直接删除工作队列中的数据,注意是sqlite数据库。

1.下载sqlite3.exe 如果是mac系统 跳过这一步

2.找到项目的.svn结尾的文件.(这个文件是被隐藏的,一般就是在整个svn的项目根目录).可以看到里面有wc.db这样一个文件.

3.把下载好的sqlite3放到.svn同级目录处.

4.打开cmd,到.svn所在的这个路径,然后执行sqlite3 .svn/wc.db "select * from work_queue"

5.执行完以后可以看到cmd窗口里会有一条条的记录.这些就是svn执行了一半的队列.

6.继续执行sqlite3 .svn/wc.db "delete from work_queue"

7.再执行一次sqlite3 .svn/wc.db "select * from work_queue",看下是否还能检索出队列,如果没有出现任何记录,那表示已经删除成功了.

8.回到svn里出错的文件夹,右键,执行clean up命令,就可以进行clean up了.

时间: 2024-10-16 19:55:31

svn报错cleanup failed–previous operation has not finished; run cleanup if it was interrupted的解决办法的相关文章

MyEclipse中 使用svn更新jar包 出现 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 2014-07-02 11:29 9052人阅读 评论(2) 收藏 举报 转自:http://blog.csdn.net/luojian520025/article/details/22196865 svn提交遇到恶心的问题,可能是因为上次cleanup中断后,进入死循环了. 错误如下: 解决方法:清空svn的队列 1

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

svn提交遇到恶心的问题,可能是因为上次cleanup中断后,进入死循环了. 错误如下: 解决方法:清空svn的队列 1.下载sqlite3.exe 2.找到你项目的.svn文件,查看是否存在wc.db 3.将sqlite3.exe放到.svn的同级目录 4.启动cmd执行sqlite3 .svn/wc.db "select * from work_queue" 5.看到很多记录,下一步执行delete from work_queue 6.ok了,现在在到项目里面,执行cleanup,

SVN 异常解决方法:cleanup failed–previous operation has not finished; run cleanup if it was interrupted

1下载sqlite3.exe 到你的项目的.svn文件,并查看否存在wc.db 2.将sqlite3.exe放到.svn的同级目录,启动cmd执行sqlite3 .svn/wc.db "select * from work_queue" 3.看到很多记录,下一步执行delete from work_queue 4.搞定,现在再到项目里面,执行cleanup,完全没问题了,图标状态也已经恢复了.

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

svn提交遇到恶心的问题,可能是因为上次cleanup中断后,进入死循环了. 错误如下: 解决方法:清空svn的队列 1.下载sqlite3.exe 2.找到你项目的.svn文件,查看是否存在wc.db 3.将sqlite3.exe放到.svn的同级目录 4.启动cmd执行sqlite3 .svn/wc.db "select * from work_queue" 5.看到很多记录,下一步执行delete from work_queue 6.ok了,现在在到项目里面,执行cleanup,

解决SVN更新代码是出现previous operation has not finished; run cleanup if it was interrupted这个错误

解决方法:清空svn的队列 1.下载sqlite3.exe 2.找到你项目的.svn文件,查看是否存在wc.db   (查看.svn文件需要打开显示隐藏文件夹) 3.将sqlite3.exe放到.svn的同级目录 4.启动cmd执行sqlite3 .svn/wc.db "select * from work_queue" 5.看到很多记录,下一步执行delete from work_queue 6.ok了,现在在到项目里面,执行cleanup,完全没问题了,图标状态也已经恢复了. (注

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

svn cleanup failed–previous operation has not finished; run cleanup if it was interrupted Usually, an svn cleanup fixes most issues with tortoise svn. However, I ran into an issue which caused me some grief. The specific error I was seeing: Previous

SVN 操作报错 “Previous operation has not finished; run 'cleanup' if it was interrupted“

今天在 通过 SVN 合并代码的时候报了如下的错误 "Previous operation has not finished; run 'cleanup' if it was interrupted",无论尝试什么操作都是报相同的错误,遂在网上找了资料查了一下,问题解决了,记录一下问题解决的方法. 1.下载  sqlite 内嵌数据库管理工具 sqlite3.exe 2.将sqlite3.exe 放置于SVN 项目的.svn 文件内,如图 3.删除 sqlite 数据库中的操作队列表

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

今天碰到了个郁闷的问题,svn执行clean up命令时报错“Previous operation has not finished; run 'cleanup' if it was interrupted”.无论你到那个父层次的目录执行“clean up “,都是报一样的错.执行cleanup时候,提示要cleanup.看来是进入死循环了. 可能是频繁做了一些改名,文件打开的时候更新或者提交操作,导致svn罢工了.这个也该算是svn的bug吧.类似的情况,其实之前也碰到过.之前都是图省事,把整

(转)svn执行clean up命令时报错“Previous operation has not finished; run 'cleanup' if it was interrupted”

今天碰到了个郁闷的问题,svn执行clean up命令时报错“Previous operation has not finished; run 'cleanup' if it was interrupted”.无论你到那个父层次的目录执行“clean up “,都是报一样的错.执行cleanup时候,提示要cleanup.看来是进入死循环了. 可能是频繁做了一些改名,文件打开的时候更新或者提交操作,导致svn罢工了.这个也该算是svn的bug吧.类似的情况,其实之前也碰到过.之前都是图省事,把整