[Svnmerge] Preserving merge history when moving servers?

Blair Zajac blair at orcaware.com
Mon Jul 12 05:49:13 PDT 2010


On Jul 11, 2010, at 10:19 PM, Steinar Bang wrote:

>>>>>> Bob Sandiford <bob.sandiford at sirsidynix.com>:
> 
>> Second try - sorry for any duplication...
>> The short answer is, 'yes'.
> 
>> I just migrated our repositories to a new server, for some of which we
>> had been using svnmerge against multiple branches.
> 
>> Read the documentation on the 'svnadmin' binary, which will allow you
>> to dump your repo, and also allow you to reload it.
> 
> Ah, ok.  Dumping and restoring would switch all references to the
> original host with the new one?

No, you'll have to do a "svn switch --relocate" in each client.

> 
>> You can also force the old server repo's UUID into the migrated ones,
>> so that existing checked out code on workstations will 'think' it's
>> the same code.
> 
> Right now the repo has been rsync'd over to the new host, not dumped and
> restored.  That would preserve the UUID wouldn't it?

Yes.

Regards,
Blair

-- 
Blair Zajac, Ph.D.
CTO, OrcaWare Technologies
<blair at orcaware.com>
Subversion training, consulting and support
http://www.orcaware.com/svn/




More information about the Svnmerge mailing list