winndows上偶爾使用SVN的時候就會整出一些有的沒的問題,比如"cleanup failed to process the following paths previous operation has not finished”,這個時候就可以按照下列步驟處理
- https://www.sqlite.org/download.html 這里下載一個sqlite,最好是這個格式的 sqlite-tools-win32-x86-3140100.zip,解壓就可以用,不想選的就直接下這個(https://www.sqlite.org/2019/sqlite-tools-win32-x86-3300100.zip)
- 解壓后將文件夾里的sqlite3.exe放到svn項目的根目錄。
- 打開命令行,進入sqlite3.exe所在目錄,輸入這個命令你可以看見該數據庫下有幾張表 sqlite3.exe .svn/wc.db "select name from sqlite_master where type='table' order by name"
- 接下來就可以將工作隊列表(work_queue)清空,還有帶lock的表,看看是不是將項目里的相應文件夾或文件鎖上了,都刪掉,我是刪了wc_lock、lock、work_queue才恢復正常的
查看表數據和刪除表數據的命令
sqlite3.exe .svn/wc.db "select * from 表名"
sqlite3.exe .svn/wc.db "delete from 表名"