SVN cannot perform cleanup

Sometimes, when using SVN for version management, you may be prompted that it has been completed after submitting due to a certain file.

, but the XX file cannot be set to be readable and writable, and then such a problem will occur, as shown below

 Once such a problem occurs, some people may think of deleting all .svn directories and then re-

Check out for version control (I have done this before). This is simple. However, once you encounter a larger project, it will be time-consuming. Here are some methods for your reference and use. I hope it can solve your problem.

Method 1, use the sqlite terminal interface to process

1. Download and install sqlite3. You can find this on Baidu. sqlite3

 2. Start, the interface is as follows

 3. Find the SVN project directory where the problem occurs and cannot be cleaned, and display the hidden .svn directory. This directory cannot be viewed by default and is hidden. Generally, you can see the following checkbox in the top view bar. Just check it.

 

 

 

 

 

 Save and exit

 

Method 2

1. You also need to download the tool. It is a windows operating system. Just download the compressed package of Precompiled Binaries for Windows version.

2. Copy the downloaded sqlite3.exe file to the local project .svn folder

3. Click Start->Run->cmd, open the cmd window, and enter the following command:

cd xxx\xxx(项目路径下.svn文件夹内)

sqlite3 wc.db

select* from work_queue;

#如果此时查询有记录,则执行以下命令:

delete from work_queue;

4. Right-click the local svn file library directory and execute clean up, and it will be cleaned normally.

Guess you like

Origin blog.csdn.net/ITMyFavorite/article/details/130343065