svn清理不掉的解决方法

来源:互联网 发布:软件架构设计实例 编辑:程序博客网 时间:2024/06/05 05:36
当svn提示要清理(cleanup),但是在执行清理(cleanup)命令会提示清理失败,要求你再次执行清理(cleanup)命令。解决方法如下

sqlite3.exe放到和主目录 .svn同一个目录下。


1、cleanup failed to process the following paths:
working copy 'xx\xxx\xxx' locked.

解决方法:在当前目录打开cmd,输入sqlite3 .svn/wc.db "select * from wc_lock",回车
然后输入sqlite3 .svn/wc.db "delete from wc_lock",回车

2、cleanup failed to process the following paths:
xx\xxx\xxx
Previous operation has not finished;run 'cleanup' if it was interrupted

解决方法:在当前目录打开cmd,输入sqlite3 .svn/wc.db "select * from work_queue",回车
然后输入sqlite3 .svn/wc.db "delete from work_queue",回车