zoukankan      html  css  js  c++  java
  • 【SVN】总结: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的operation是存放在“work queue’“里的。而“work queue’是在内嵌数据库wc.db的work_queue表中的。看看work_queue表中放了些什么,再做处理。

     

    清空svn的队列

    1)安装sqlite3

    2)找到你项目的.svn文件,查看是否存在wc.db

    3)执行sqlite3 .svn/wc.db "select * from work_queue"

    4)看到很多记录,下一步执行delete from work_queue,注意使用root用户。

    5)在到项目里面,执行svn cleanup。

    6)ok。

     以下是windows解决方案。

    1、更新报错:

    68aa727cce8a5ba232dfb00bbe62dfcb80f349da

    2、原因:

    上次cleanup中断,导致无法更新,需要cleanup,但是cleanup也出错,cleanup进入一个死循环
     

    3、解决方案:

    使用sqlite清空svn的工作队列,就可以进行cleanup操作了
     
    4、步骤:

    清空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,完全没问题了,图标状态也已经恢复了。
    8d17825950208e05f1ab4cfb91f2732500685ba6
     
     
     
  • 相关阅读:
    第一篇代码 嗨翻C语言 21点扑克
    Windows7 sp1 64位下安装配置eclipse+jdk+CDT+minGW
    MinGW-64 安装
    Windows Live Writer配置步骤
    Css 居中
    c++ 常量成员函数
    c/c++ 引用计数
    C++ 《STL源码剖析》学习-vector
    C/C++ 有符号数和无符号数
    cocos2d 内存管理机制
  • 原文地址:https://www.cnblogs.com/BinBinStory/p/7465587.html
Copyright © 2011-2022 走看看