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

如果存在未完成操作就会提示"Previous operation has not finished"。

        在使用了svn的项目中,在项目根目录会有一个.svn文件夹,这个是隐藏文件夹, 需要开启显示隐藏文件功能才能看到此文件夹。

       .SVN文件夹中有个 wc.db文件,该文件是sqlite的文件型数据库, 使用相关工具即可打开,例如 Navicat 等。
       打开数据库后, 可以看到表 WORK_QUEUE, 删除此表中的数据即可。

       上述操作完成后,然后在执行svn 的 cleanup 操作。


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

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

点击ok!

clean up的作用就是查找工作拷贝中的所有遗留的日志文件,删除进程中工作拷贝的锁