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就正常了。

参考链接 这里写链接内容

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值