因爲不想描述的緣由,致使svn cleanup出現找不到/path/to/.svn/pr.../文件
cd /data/web/domain.com
sqlite3 .svn/wc.db
sqlite> .tables
ACTUAL_NODE NODES PRISTINE WC_LOCK
EXTERNALS NODES_BASE REPOSITORY WORK_QUEUE
LOCK NODES_CURRENT WCROOT
清空work_queue表數據
sqlite> delete from work_queue
退出
sqlite> .exit
從新執行命令
svn cleanup
已經能夠更新啦
svn up
若是.svn目錄下文件丟失或者損壞,能夠到wc.db裏面找到你的倉庫地址
sqlite> select * from repositorynode
查看全部表的表結構
select * from sqlite_master where type = "table";
查看某個表的表結構
select * from sqlite_master where name = "table_name"
鎖定提交者
select * from nodes where changed_author = 'zhangsan' limit 3;web