Why do I keep getting 'SVN: Working Copy XXXX locked; try performing 'cleanup'?

后端 未结 11 2104
滥情空心
滥情空心 2020-12-25 10:25

If you have worked with SVN tools in Eclipse (Subversion, subversive) before, then you are likely familiar with the \'working copy \'XXX\' locked...\" error.

I found

11条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-25 10:44

    The following should unlock a locked working copy (tested on svn client version 1.6.11 and elipse version: Mars.2 Release (4.5.2))

    step 1: (go to working copy directory) $cd working_copy_dir

    step 2: (connect to svn sqlite database) $sqlite3 .svn/wc.db

    step 3: (delete all records from table WC_LOCK) sqlite> delete from WC_LOCK;

    step 4: (disconnect from sqlite 3 database) sqlite>ctrl + d

    step 5: (from eclipse) right click on your working copy, then click Team -> Refresh/Cleanup

提交回复
热议问题