1. 程式人生 > >關於svn: E155032: The pristine text with checksum was found in the DB but not on disk問題

關於svn: E155032: The pristine text with checksum was found in the DB but not on disk問題

#開啟記錄資料庫
sqlite3 .svn/wc.db

#把下面的your missing pristine here 替換為出錯檔案的sha1值,
#(例子中為9db7aaf659d97e6f670cec484f27ba25aacbd75e),注意前面的$sha1$要保留
sqlite> select * from pristine where checksum="$sha1$your missing pristine here";

#執行上面的命令後查詢結果為空,那麼繼續下面的操作
sqlite> select * from nodes where checksum="$sha1$your missing pristine here";

#找到一條記錄,那麼直接刪除,命令如下
sqlite> delete from nodes where checksum="$sha1$your missing pristine here";