svn无法cleanup解决方案

1、svn有时候会因为一些莫名其妙的问题导致的不能正常使用,报错“cleanup failed to process the following paths …… previous operation has not finished”,而我们先按照执行“cleanup”操作管不管用,操作如下:

进入项目的根目录下,空白处单击右键-鼠标指向后如下图,单击

 命令,如果执行成功那就好了。

2、如果上面操作不成功,svn执行clean up命令时报“Previous operation has not finished; run 'cleanup' if it was interrupted”错误,如下图:

  image.png

  1)出现问题源:

     本地.svnwc.db数据库文件里面存储了svn的operation,表名是work_queue。

  2)解决方案:

    (1)下载db管理工具sqlite3,  链接:https://pan.baidu.com/s/1G0qw8YDf2-qPT1ueY-03xw 密码:r1c7;

    (2)将sqlite3.exe放置到对应cleanup异常的svn项目下的.svn(此目录默认是隐藏的)目录下:

      image.png

    (3)在.svn目录下shift+鼠标右键,当前位置打开命令:

     image.png

    (4)执行输入sqlite3 wc.db:

     image.png

     (5)输入 .table 查看所有表:

      image.png

     (6)输入delete from work_queue; 删除WORK_QUEUE表:

      image.png

      (7)测试cleanup:

       image.png

       image.png

IT黑马
原文地址:https://www.cnblogs.com/hmit/p/14155532.html