SVN清除锁


执行sqlite3.exe wc.db
清除工作队列
执行sql命令:select * from work_queue;


如果上面的命令有执行结果,

则执行delete from work_queue;并退出,退出命令是.exit,

重新执行clean up

或者update
清除工作队列无效或者工作队列为空则对数据库执行备份操作
复制一份wc.db,重命名为wc.old.db,原来的wc.db改名为old.db(随便你,叫啥都成)
以和上面同样的进入命令行,
执行sqlite3.exe wc.old.db
执行.backup main wc.db
执行.exit(退出)


重新执行clean up或者update,此处数据库已经解锁了

 

 

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",回车
posted @ 2021-08-27 06:54  liangyuwen  阅读(320)  评论(0编辑  收藏  举报