解决SVN Cleanup时遇到错误信息:Cleanup failed to process the following paths:xxxxxxx Previous operation has not finished: run 'cleanup' if it was interrupted Please execute the 'Cleanup' command.

大喵多康 2016-10-14 10:39:07 暂未开通评论功能

提交或更新SVN文件时,提示需要先执行Clean up,但在Clean up时又弹出错误信息:

Cleanup failed to process the following paths:xxxxxxx Previous operation has not finished; run 'cleanup' if it was interrupted

Please execute the 'Cleanup' command.

解决SVN Cleanup时遇到错误信息:Cleanup failed to process the following paths:xxxxxxx Previous operation has not finished: run 'cleanup' if it was interrupted Please execute the 'Cleanup' command.

本人英文水平欠佳,按此提示文字大致理解为:因为上一操作还未完成,导致本次执行失败,请执行清理命令。

看到此提示就汗颜了,明明正在执行清理命令,竟然提醒“清理失败,请执行清理命令”,由此进入死循环......

搜索资料一番之后发现在.svn/wc.db中的work_queue表中记录了SVN的工作队列,需要清空工作队列,让SVN认为已经没有“Previous operation”了,就可以正常执行当前命令了。

操作步骤如下:

1. 下载 解决SVN Cleanup时遇到错误信息:Cleanup failed to process the following paths:xxxxxxx Previous operation has not finished: run 'cleanup' if it was interrupted Please execute the 'Cleanup' command.Sqlite3.exe

2. 将Sqlite3.exe放到.svn的同级目录

3. 在cmd控制台中将盘符转到svn版本控制的文件夹

4. 执行sqlite3 .svn/wc.db "select * from work_queue"

5. 看到work_queue中保存的工作队列

6. 执行sqlite3 .svn/wc.db "delete from work_queue" 删除工作队列

7. 重新执行Cleanup命令,成功!

解决SVN Cleanup时遇到错误信息:Cleanup failed to process the following paths:xxxxxxx Previous operation has not finished: run 'cleanup' if it was interrupted Please execute the 'Cleanup' command.

http://bigmiao.com/Program/Item/61

上一篇:android高仿抖音、点餐界面、天气项目、自定义view指示、爬取美女图片等源码


下一篇:Restful Framework (三)