Today, I encountered a strange thing: the SVN local code mark suddenly disappeared, and the Clean up error also reported, svnclean
Today, I encountered a strange thing: the SVN local code mark suddenly disappeared, and the Clean up also reported an error.
After thinking about this situation, you can first change the original directory name, re-check the code out, and then merge and submit the update, but this is too LOW.
After surfing the internet for hundreds of times, I found two articles and provided a solution. My SVN version is 1.8. After I practiced method 1, it really worked! Method 2 Applicable to earlier versions of SVN is coming soon!
The solution is as follows:
Updating the project code from the SVN repository causes SVN status exceptions and update failure.
By checking the information, you may encounter similar problems due to incorrect code submission. You must run the Clean Up command in the problem path to clear the problem.
The following error occurs: the CleanUp command fails to be executed in this directory, and the prompt "svn cleanup failed-previous operation has not finished; run cleanup if it was interrupted" is displayed. solution 1: SVN version 1.7 +, you need to clear the root directory. wc in the svn folder. you can record the queue data in the db file. The command is as follows: 0. copy the beibeisqlite3.exe file to the root directory of the project folder. 1. Go to the project folder with the cmd command line. 2. Execute sqlite3. svn/wc. db "select * from work_queue" to query the records of block svn's normal operation. 3. Execute sqlite3. svn/wc. db "delete from work_queue" to delete the error data so that the Clean Up operation can be normal. 4. Run Clean up in the root directory. Method 2: If you want to delete all lock files in the directory of SVN version 1.7 or earlier, run the following command: 0. cd to the svn project directory. 1. Execute del lock/q/s to delete the lock file. 2. Run Clean up in the root directory.
English document:
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 shocould 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 shoshould 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 '.
Sqlite3.exe download sqlite3 download
Reference: 1. SVN-Clean up failed, unable to enter the specified file path URL: http://blog.csdn.net/lfsfxy9/article/details/422974952. svn cleanup failed-previous operation has not finished solution URL: http://www.cnblogs.com/bicker/p/3312394.html