mac os下svn无法cleanup的解决办法
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)
Install sqllite (32 bit binary for windows) fromheresqlite .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.)
版权声明
本文仅代表作者观点,不代表博信信息网立场。