After the transfer of SVN repository using TortoiseSVN relocation (relocate) error Solution

Recently the use of private cloud code size limitations exist, it will transfer its warehouse after warehouse business, using TortoiseSVN relocation (relocate) error

Error: [svn The repository at svnxxxxx has uuid XXXX, but the WC has XXXX]

 

The reason is that this problem is on the SVN server repository uuid and our local warehouse uuid inconsistencies caused. uuid SVN server is a random number generated automatically when you create a warehouse by the random number is used to determine whether the server and the client's warehouse, and if not, it will cause conflict.

This problem, we want the server and client uuid consistent, it is clear that modify the service end of uuid is not possible, it is best to modify uuid our local warehouses. To modify the uuid, first of all you have to know what the server has uuid, although there is something wrong when the dialog box out what the server has uuid, but that can not be copied.

The new warehouse can be downloaded to the local. .svn files in the local repository folder below a wc.db file, which is a sqlite database, which stores some versions warehouse control information. We see the software to open the file with sqlite database, can be found in the table REPOSITORY uuid field is uuid value of the local warehouse inside the store, we can modify this value and consistent uuid server directly in the database.

After the uuid consistent and server into local warehouse, execution relocate operation again, no problem.

 

Published 18 original articles · won praise 8 · views 10000 +

Guess you like

Origin blog.csdn.net/zengshaoqing/article/details/104708379