[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Checkout of mirror slave check into mirror master

From: roy lists <roy.lists_at_gmail.com>
Date: 2007-02-15 04:00:12 CET

> On 2/14/07, Ryan <niespam@gmail.com> wrote:
> > Thanks for the info Ryan. Does anyone know of a sync method or tool that
> > will allow checkout from a mirror and checkin to a master repository (or
> > even better a two way sync)??
>
>

From: http://svn.collab.net/repos/svn/trunk/notes/svnsync.txt
I have not tried this, but plan to soon.

Roy

Q: What if I want to check out from a mirror, but commit to the master?

A: That's possible, but requires some gymnastics. You see, each repository
   has its own UUID, which is stored in the working copy, so if you check
   out from the mirror, and then do a 'svn switch --relocate' to point to
   the master it'll error out. To make this work you need to make sure that
   the mirrors have the same UUID as the master. You can set a repository
   UUID via the following technique:

$ cat - <<EOF | svnadmin load --force-uuid dest
SVN-fs-dump-format-version: 2

UUID: d48dd586-eb1d-0410-b581-e6e13afcedeb
EOF

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Feb 15 04:01:14 2007

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.