转载:svn clean up 退步解决方法

转载网址:http://www.tuicool.com/articles/biy6na

今svn碰着一个头痛的题材,最开端更新的时节失利了,因为起文件于锁住了。按照过去的操作,我本着父目录举办clean
up操作,不过clean up 操作为破产了!

svn cleanup failed–previous operation has not finished; run cleanup if
it was interrupted

cleanup
战败,失利的音信里以被自己cleanup,那是一个死循环。。。到google搜索釜底抽薪问题,最终到底找到一个灵光之解决办法。

Usually, an svn cleanup fixes most issues with tortoise svn. However,
I ran into an issue which caused me some grief.

The specific error I was seeing:

Previous operation has not finished; run ‘cleanup’ if it was
interrupted

Solution: Somehow, svn is stuck on the previous operation. We need to
remove this operation from it’s ‘work queue’.

The data is stored in the wc.db sqllite database in the offending
folder.

  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.)

Also, svn.exe (a command line tool) is part of the Tortoise installer
– but is unchecked for some reason. Just run the installer again,
choose ‘modify’ and select the ‘command line tools’.

 

简单来説是,通过sqlite将svn中往日的行事排清空,这样子就可以拓展cleanup操作啦。

网站地图xml地图