svn报错

来源:互联网 发布:淘宝上药店正规的吗 编辑:程序博客网 时间:2024/04/28 15:20
今天svn提交,出现异常:
svn cleanup failed–previous operation has not finished; run cleanup if it was interrupted
team--> Refresh/Cleanup
会出现异常:SVN: org.apache.subversion.javahl.ClientException:Previous operation has not finished

解决方法:清空svn的队列
1.下载sqlite3.exe   
2.找到你项目的.svn文件,查看是否存在wc.db
3.将sqlite3.exe放到.svn的同级目录
4.启动cmd执行sqlite3 .svn/wc.db "select * from work_queue"
5.看到很多记录,下一步执行delete from work_queue
6.ok了,现在在到项目里面,执行cleanup,完全没问题了,图标状态也已经恢复了。