开发者

SVN Switchover to a new server

开发者 https://www.devze.com 2023-02-25 00:45 出处:网络
We have been using the SVN from provider1. However, we now wish to switch over to a new URL with provider2.

We have been using the SVN from provider1. However, we now wish to switch over to a new URL with provider2.

In this connection I would like to checkout all the projects from provider1 and then relocate (commit) it to provider2.

Pl. elaborate the steps for it. As of no开发者_运维百科w, when i try relocate in tortoise, I am getting a UUID mismatch error.

Thanks


If svnadmin is not an option (no shell access to the server), there are tools such as rsvndump (http://rsvndump.sourceforge.net/) to get the repository data.

Then import the data to the new location (either svnadmin, or talk to the service provider, they usually accept dumps to import, even if they don't like to export repo data).

After that, the uuid will match, so you can use svn switch to move over.

The uuid error is basically that you created a new repository, somehow got the data over, but each repository gets a unique ID (said uuid), which you didn't set appropriately (svnsync stores the origin's uuid, but as secondary information, not as 1:1 replication)

0

精彩评论

暂无评论...
验证码 换一张
取 消