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

Re: Relocate Relate Bug - moved here from the Tortoise group

From: Ryan Schmidt <subversion-2005_at_ryandesign.com>
Date: 2005-08-04 01:12:37 CEST

On 03.08.2005, at 23:04, Amir Kolsky wrote:

> A working copy is pointing to x/trunk. A file a switched to
> x/branches/somefile. Both are URLs in the repository.
>
> Suddenly the repository takes a walk to y/trunk. So, I relocate the
> working
> copy to y/trunk. Alas, there's bitter complaining about what used
> to point
> to x/branches/somefile and even tho y/branches/somefile exists,
> there's no
> way to get it to point there or to the original locaiton in the
> repository
> x/trunk/somefile...

I can't test it right now, but as far as I know, this is no problem.
As an example, if your repository was at http://www.example.com/x,
and you had done this:

$ mkdir working-copy
$ cd working-copy
$ svn checkout http://www.example.com/x .
$ svn switch http://www.example.com/x/branches/branch-1.0/some-file ./
some-file

And now your repository is no longer available under http://
www.example.com/x but instead svn://www.example.org/y, you would
relocate the working copy like this:

$ cd working-copy
$ svn switch --relocate http://www.example.com/x svn://
www.example.org/y .

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Aug 4 01:14:56 2005

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.