Tuesday, August 27, 2013

svn: E200033: database is locked, executing statement 'RELEASE s0'

Ok, so you're stuck when suddenly a commit transaction to svn repo crashes. SVN says you need to run "svn cleanup". That doesn't work either because of the error above. This means that your wc.db (working copy db) hasn't released its lock.

So how do you fix it? Replace your db with something new.
# cd /path/to/working/copy/.svn
# mv wc.db wc.db.old
# sqlite3 wc.db.old
sqlite> .backup main wc.db
sqlite> .exit
Got this amazing info here.
  • Related Links Widget for Blogspot

No comments: