关闭

svn cleanup failed–previous operation has not finished 解决方法

330人阅读 评论(0) 收藏 举报
分类:

问题描述:

在登录SVN进行update操作时,由于VPN突然断开,导致代码为完全更新,再次进行update操作时,弹出如下提示:

svn cleanup failed–previous operation has not finished; run cleanup if it was interrupted,按照以上提示执行了cleanup操作,又弹出以上错误提示,这是一个死循环;

问题原因:

Somehow, svn is stuck on the previous operation. We need to remove this operation from it’s ‘work queue’.The data is stored in the wc.db sqllite database in the offending folder.

解决方案:清空该项目中SVN之前的工作队列;

步骤1:下载安装sqlite3.exe文件;

步骤2:  找到问题项目的.svn文件夹(此文件夹为隐藏文件夹,在文件夹选项中选择显示隐藏的文件夹即可查看);

步骤3:将sqlite3.exe文件复制到.svn文件夹下;

步骤4:以管理员的身份运行cmd;

步骤5:使用命令cd /d sqlite3.exe路径切换到该项目的数据库文件wc.db所在的路径;

步骤6:先执行 sqlite3 wc.db "select *from work_queue"命令,可以看到若干条记录;

步骤7:接着执行 sqlite3 wc.db "delete from work_queue";

步骤8:找到问题项目所在的文件夹,右键选择cleanup选项,如果图标状态恢复正常,则问题成功解决;

0
0
查看评论

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

svn报错:“Previous operation has not finished; run 'cleanup' if it was interrupted“ 的解决方法:(整理所得) 代码提交、更新时出现问题:      百度后,大多数的方...
  • qq_16769857
  • qq_16769857
  • 2016-08-08 10:44
  • 1078

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.将sql...
  • luojian520025
  • luojian520025
  • 2014-03-26 17:29
  • 49414

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

今天在用SVN更新代码的时候,遇到svn“Previous operation has not finished; run 'cleanup' if it was interrupted“ 这个问题,原因就是,同事提交代码后,我更新完后,发现有错误,原来是jar包他没有...
  • u012875442
  • u012875442
  • 2015-01-28 16:00
  • 6695

SVN中Update遇到Previous operation has not finished; run 'cleanup' if it was interrupted

第一种方法:(主要针对旧版的svn) 请看:http://www.cnblogs.com/bicker/p/3312394.html 第二种方法:对于新版的SVN
  • dk_0520
  • dk_0520
  • 2017-03-23 09:47
  • 1230

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 “,都是报一样...
  • superch0054
  • superch0054
  • 2014-08-18 22:19
  • 164950

svn cleanup死循环:Previous operation has not finished 解决之道

svn cleanup死循环:Previous operation has not finished 解决之道 转自:http://my.oschina.net/sallency/blog/335862 非常感谢博主:优雅的王小贱 知识分享!   &#...
  • suzhouxueyuan
  • suzhouxueyuan
  • 2015-03-11 17:44
  • 1622

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

svn执行update操作后出现:      Error : Previous operation has not finished; run 'cleanup' if it was interrupted.      Er...
  • JINYUANCAI
  • JINYUANCAI
  • 2017-03-31 10:28
  • 3470

解决Error:svn: E155037: 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&...
  • zhfleslie
  • zhfleslie
  • 2016-10-10 16:38
  • 5840

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

1、  http://blog.csdn.net/wushuang5566110/article/details/8521552 备注:
  • mcy478643968
  • mcy478643968
  • 2014-04-09 10:06
  • 4245

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

使用sqlite3(轻量级数据库,一般linux会自带,windows可能需下载)清空work_queue队列即可。 Linux: 终端下执行: #sqlite3 $svn_code_src/.svn/wc.db "select * from work_queue&q...
  • ydyang1126
  • ydyang1126
  • 2016-06-29 09:34
  • 541
    个人资料
    • 访问:3525次
    • 积分:84
    • 等级:
    • 排名:千里之外
    • 原创:2篇
    • 转载:9篇
    • 译文:0篇
    • 评论:0条
    文章分类