from pristine store, because no checksum is recorded for this file

zz@T630:vc$ svn up
svn: E155037: Previous operation has not finished; run 'cleanup' if it was interrupted
zz@T630:vc$ svn cleanup
svn: E155009: Failed to run the WC DB work queue associated with '/home/zz/mysrc/VC/vc', work item 2009023 (file-install vc0/branches/svn-1576-sdk/readme 1 0 1 1)
svn: E155017: Can't install '/home/zz/mysrc/VC/vc/branches/svn-1576-sdk/readme' from pristine store, because no checksum is recorded for this file

使用svn的时候遇到了这个问题,头一次啊,搞不定,搜了好几下才找到一个对症的解决方法:

1.使用sqlite操作本地svn的仓库根目录,我直接进到svn的仓库根目录,找到了.svn隐藏目录。

zz@T630:VC$ sqlite3 .svn/wc.db 
SQLite version 3.13.0 2016-05-18 10:57:30
Enter ".help" for usage hints.
sqlite> select * from work_queue;
2009023|(file-install vc/branches/svn-1576-sdk/readme 1 0 1 1)
sqlite> delete from work_queue;
sqlite> .exit

胆战心惊的执行完上面的代码后,再执行svn cleanup和svn up就正常了。

参考链接 这里写链接内容

猜你喜欢

转载自blog.csdn.net/k7arm/article/details/81168416