因为在使用命令行进行项目更新时,按了control+c中断了正在进行更新的项目,就出现了svn无法再次提交和更新的问题,在svn的根目录下运行:
svn cleanup
也不行.会出现下边的错误提示:
也不行.会出现下边的错误提示:
svn: E155037: Previous operation has not finished; run 'cleanup' if it was interrupted
有人说再checkout一份出来.因为项目很大,如果再checkout一份出来差不多要一个多小时.最好的办法还是修复这个错误.
在网上找了很多地方,最后找到了正常的解决办法.
Summary of fix from above link (Thanks to Anuj Varma)
Install sqllite (32 bit binary for windows) from here
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.)
本文介绍了一种解决SVN更新过程中因意外中断导致无法继续更新或提交的方法。通过安装SQLite并执行特定的SQL命令来清理工作队列,从而恢复正常的工作流程。
3809

被折叠的 条评论
为什么被折叠?



