Past week, it happened twice to me that SVN was not able to update. When updating or committing, the message “Previous operation has not finished; run ‘cleanup’ if it was interrupted” appears. But when I cleaned my working copy, that failed too.
For fixing this issue, install SQLite (download it here). Go to your SVN working directory, you’ll find a wc.db (the database where SVN keeps it’s date) in the .svn directory.
run the command
sqlite /pathto/wc.db "select * from work_queue"
You’ll probably see some records containing filenames you just touched. The records can be safely deleted. Run this:
sqlite /pathto/wc.db "delete from work_queue"
And you’re good to go! It’ll probably save you the trouble of deleting your working copy and checking it all out again.