An error occurred while submitting SVN wc.db TortoiseSVN, suggesting the use of clean up

Today errors occur when using TortoiseSVN commit, suggesting the use of clean up

---------------------------
TortoiseSVN
---------------------- -----
Cleanup failed The Paths to Process at The following:
D: \ work \ system
Failed to run the WC DB work queue associated with 'D: \ work \ system', work Item
 10707 (File-install
 src / Content / JS /kissy/gallery/form/1.3/uploader/demo/queue.html 1 0 1 1)
can not open the file "D: \ work \ system \ .svn \ pristine \ a1 \ a1e5e1ad14bb3725ada717d19301a41e987a2802.svn -base":
 The system can not find the specified file.

Internet to find a solution.

 step1: to sqlite official website (http://www.sqlite.org/download.html) Download sqlite3.exe      

            Find Precompiled Binaries for Windows, click sqlite-tools-win32-x86-3310100.zip (1.74 MiB) Download,

   step2: Copy the files to be downloaded to the sqlite3.exe .svn wc.db in the same directory,

   step3: Start -> Run -> cmd to open the command

               Open wc.db

               Perform delete from work_queue;

              as the picture shows:

             

 

 

     step 4:, clean up, clean-up will prompt you to succeed.

                

                  

   (End)

 

About sqlite3

By: Zhu Jincan

Source: http: //blog.csdn.net/clever101

 

       Cleanup failed to process the following paths of error often used when performing operations TortoiseSVN Cleanup tool, specifically as:

 

 

     Online search a bit to find a solution:

    When version 1.7 the previous lock files TortoiseSVN client a lock file suffix, can directly delete .svn directory in the directory error.

 

TortoiseSVN client version 1.7 previously locked information (including version 1.7) is a record of an error on the .db file directory, the tool can be used SQLite file will change the file open, and then remove the piece of lock records can be.

 

     Specifically if you want to use SQLite file visualization tools, you can install SQLiteExpert Professional tools. Installed SQLiteExpert Professional tool to find wc.db files in svn directory, as follows:


Open wc.db file, delete all records in wc_lock and work_queue two tables, specifically as:

 


 

    If you want to use the command line, you can download sqlite3.exe into .svn directory, start the command line, type the command:

 

sqlite3.exe wc.db

 

 

Then, into the sqlite command-line environment, you can operate the database, first we enter the command:

 

.tables

 

 

The tables in the database are displayed, we need to focus on wc_lock and work_queue, because information on the operation of the cleanup and the lock is stored in these two table. If necessary, you can use select * from wc_lock; to see whether the information in the table before the operation corresponding to the file or directory, if there is data in Table 2 then svn can not follow-up operations.

 

Very simple, you just put two tables can be cleared, the command is very simple:

 

delete from wc_lock;

work_queue from the
Delete; ----------------
Disclaimer: This article is CSDN blogger "smeyou 'original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
Original link: https: //blog.csdn.net/smeyou/article/details/53837019

Guess you like

Origin www.cnblogs.com/yangyuqiu/p/12427864.html