Svn error “Previous operation has not finished”

前端 未结 13 1086
忘掉有多难
忘掉有多难 2021-02-01 16:30

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 wi

13条回答
  •  抹茶落季
    2021-02-01 17:31

    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

提交回复
热议问题