The first method: (primarily for older versions of SVN)
Transferred from: http://www.cnblogs.com/bicker/p/3312394.html
svn cleanup failed–previous operation have not finished workaround Today SVN encountered a headache, and the initial update failed because the files were locked. In the past, I did a clean-up operation on the parent directory, but the clean-up operation failed.
SVN cleanup failed–previous operation have not finished; Run cleanup if it was interrupted
Cleanup failure, the message of failure also called me cleanup, this is a dead loop ... To Google search to solve the problem, finally found an effective solution.
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 have not finished; Run ' cleanup ' if it was interrupted
Solution:somehow, SVN is stuck on the previous operation. We need to remove the operation from it's ' Work queue '.
The data is stored in the Wc.db sqllite database in the offending folder.
1. Install sqllite (+ 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's need to does 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) are part of the tortoise installer–but are unchecked for some reason. Just Run the installer again, choose ' Modify ' and select the ' command line tools '.
Simply put, by using SQLite to empty the previous work queue in SVN, this way you can do cleanup operation.
SQLite download Link The second way: for the new version of SVN