how Svn error “Previous operation has not finished”

 

Questions


This morning i was committing several items to a svn repository. During the commit operation my operating system crashed and now all svn commands (Including clean up) ends up with the same error.

Previous operation has not finished; run 'cleanup' if it was interrupted
Please execute the 'Cleanup' command."

I dont get other errors like Subversion stuck due to “previous operation has not finished”?
and as the repository is very i big i dont want to checkout everything again like suggested here: Issues with previous operation not finishing

 

 

————————————————-

Answer

Actually just found the answer to my question by looking here

It seems that svn was stuck in the old operation.
All of these operations are stored in the database wc.db in the .svn folder.

By downloading SQLite to my checkout directory and running

sqlite3.exe .svn/wc.db "select * from work_queue"

from cmd

i got a list of all pending operations. These operations are the ones “not finished”
then by running

sqlite3.exe .svn/wc.db "delete from work_queue"

all of these pending operations are deleted and i can commit again.
No need for a re checkout or anything

svn,tortoisesvn

Facebook Comments

Website Comments

  1. Loans For Bad Credit
    Reply

    e payday loan loans instant approvalloans instant approval instant loans online

Post a comment