svn报错:Previous operation has not finished; run 'cleanup' if it was interrupted

        Local SVN client has an embedded wc.db (there are more than about 10 tables) SQLite, SVN managed to save a file type, project tree, the user progress of the operation. When the user code SVN client commit operation abnormal termination , resulting in a sqlite table to record (additions and deletions, etc.) of user data on the operation of the project A too late to change, because we all subsequent operations on the project, both priority from the table to check whether there are unfinished projects a operations, if there are unfinished operations will prompt "Previous operation has not finished".

        In using svn projects, in the root directory of the project will have a .svn folder, this is a hidden folder, enable Show hidden files feature to see this folder.

       .SVN folder there wc.db file is a file sqlite database, use tools to open, for example, Navicat and so on.
       After opening the database, table WORK_QUEUE, you can delete the data in this table.

       After the above operation is complete, then execution of the cleanup operation svn.

 

[Note] If the error is: the svn IS Locked already,   will need to perform  cleanup operations, and select options as shown below,

 

Click ok to!

clean up explanation: its role is to find any leftover logs file in the working copy, delete the working copy locks in the process.

Guess you like

Origin blog.csdn.net/liangzhao_jay/article/details/94456741