How to fix SVN not able to update or clean working copy

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.

Een reactie achterlaten

Het e-mailadres wordt niet gepubliceerd. Vereiste velden zijn gemarkeerd met *

By using this site you acknowledge the use of cookies (which are mostly harmless, btw) More information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below you are agreeing to these settings.

Close