使用SVN 过程中,clean up 解决不了问题时,例如出现下面的情况时,可以用下边的sql 命令彻底解决。
“failed to run the wc db work queue associated”
“svn can't open find the file specified”
操作以下命令,有可能损失文件,切记。
操作方法:
到 .svn目录下,用 SQLiteSpy.exe 或者 sqlite3 等工具打开 wc.db 文件,执行以下sql命令:
delete from wc_lock;
delete from work_queue;
delete from NODES where local_relpath='xxxxxxxx'
这里,把 xxxxxxxx 替换为 can't open file 的文件名
执行完后,到svn目录下顺序执行 clean up ,update,commit 即可。
网友评论