0
点赞
收藏
分享

微信扫一扫

mac os下svn无法cleanup的解决办法

witmy 2022-09-14 阅读 178


svn cleanup
也不行.会出现下边的错误提示:


svn: E155037: Previous operation has not finished; run 'cleanup' if it was interrupted


有人说再checkout一份出来.因为项目很大,如果再checkout一份出来差不多要一个多小时.最好的办法还是修复这个错误.


在网上找了很多地方,最后找到了正常的解决办法.


​​http://www.anujvarma.com/svn-cleanup-failedprevious-operation-has-not-finished-run-cleanup-if-it-was-interrupted/​​

Summary of fix from above link (Thanks to Anuj Varma)

  1. Install sqllite (32 bit binary for windows) from​​here​​
  2. sqlite .svn/wc.db “select * from work_queue”

The SELECT should show you your offending folder/file as part of the work queue. What you need to do is delete this item from the work queue.

3. sqlite .svn/wc.db “delete from work_queue”

That’s it. Now, you can run cleanup again – and it should work. Or you can proceed directly to the task you were doing before being prompted to run cleanup (adding a new file etc.)

举报

相关推荐

0 条评论