[error] svn failed to clean up the following paths The original content does not exist

foreword

At present, our intranet code is TortoiseSVNversion managed through , and it works well in normal use, without encountering any major problems.
However, I encountered a difficult problem today, so I will make a record here, so that I and friends in need can have a reference when encountering such problems in the future.

Phenomenon

The specific error phenomenon is shown in the figure below:
insert image description here

reason

The steps that lead to the above phenomenon are as follows:

  1. The update clicked from the outermost directory is in the checking state for a long time due to the huge number of files;
  2. Clicked the cancel update button;
  3. The cancellation response is too slow, so close the TortoiseSVN process directly from the task manager;
    after the above steps, this phenomenon occurs when you update again, no matter which level of directory you update from, it is the same error.

solution

By searching for information, I found that there are quite a lot of people who have encountered this phenomenon. However, most of the information found on the Internet now recommends using sqlite3 to clean up the database. The database is located in the local directory selected at the time. In the svn folder, the name is wc.db

Note: The .svn folder is generally a hidden folder and needs to be displayed.

Open the file through a sqlite visualization tool wc.db, find WORK_QUEUEthe table;
right-click the table, select "clear", and save wc.db.

Replace the file with the same name under .svn with the modified wc.db above, and then execute the cleanup command again to solve the problem.

Guess you like

Origin blog.csdn.net/qq_45254369/article/details/131905811