Comment 1 for bug 334028

Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 334028] [NEW] svn switch --relocate

Hi Brad,

Thanks for the bugreport.

On Tue, 2009-02-24 at 20:51 +0000, Brad Burch wrote:
> Public bug reported:
>
> I ran into a dead-end trying to get my existing bzr checkout to point to
> our new svn server. There is probably a simple way to do this without
> botching it like I did, but hours of searching yielded no help. I ended
> up creating a new checkout and manually merging in my changes, but
> hopefully this report might be of help to others.
>
> I've been working on a somewhat long-running project not being committed to svn. These steps have been working great until we moved our svn server. Here are the steps:
> 1. existing svn server with history
> 2. bzr checkout svn://server1/product/trunk trunk
> 3. bzr branch trunk MyProject
> 4. make changes in MyProject and bzr commit
> 5. bzr update trunk
> 6. bzr merge trunk MyProject
>
> Then the server was moved to a new server. With svn a simple "svn
> switch --relocate svn://server2/product/trunk" does the trick since the
> repository was loaded with the same UUID. Using "bzr switch" does not
> work. After I started from scratch, I did find a way to relocate the
> server that seems to work, though I'm not certain if there could be
> ramifications.
This is what the "bzr switch" command is for.

What exactly didn't work when you used "bzr switch
svn://server2/product/trunk" ?

Cheers,

Jelmer
--
Jelmer Vernooij <email address hidden> - http://samba.org/~jelmer/
Jabber: <email address hidden>