Current location - Health Preservation Learning Network - Slimming men and women - How to solve the problems of svn cleaning failure and path display garbled?
How to solve the problems of svn cleaning failure and path display garbled?
As a version management server that we often use, Svn often needs to synchronize local files with server file information and version information through cleaning operation. However, sometimes when executing the cleaning command, you will be prompted "Cleaning failed, please perform cleaning", and the Chinese path of the prompt will display garbled code. This problem is mostly due to the unfinished tasks in the work queue, so this paper will solve the problem of cleaning failure from this aspect.

personal computer

Svn server

Download the sqlite database tool, and sqlite3.exe can download the compressed package at sqlite official website stacked Binaries for Windows.

Copy the downloaded sqlite3.exe file to a directory on the local disk. My directory is D:\tools\svn.

And find it. Svn/wc.db file and copy it to the D:\tools\svn directory. If you can't see it. Svn folder, you need to set "Show hidden files and folders" as the check box in OS Tools-Options-View.

Click start->; Run-> Cmd, open the cmd window and enter the following command:

d:

cd D:\tools\svn

sqlite3 wc.db

select * from work _ queue

If the query has records at this time, please execute the following command:

Delete from the work queue;

five

Overwrite the file d: \ tools \ svn \ wc.db in the local SVN file library directory. Svn directory.

six

Then right-click the local svn file library directory, perform cleaning, and you can clean it normally.