Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 Aug 2009 23:01:14 +0300
From:      Giorgos Keramidas <keramida@freebsd.org>
To:        Christoph Mallon <christoph.mallon@gmx.de>
Cc:        Mel Flynn <mel.flynn+fbsd.current@mailing.thruhere.net>, Ed Schouten <ed@80386.nl>, freebsd-current@freebsd.org, Thomas Backman <serenity@exscape.org>
Subject:   Re: What's up with the SVN repository?
Message-ID:  <87ab28oiyd.fsf@kobe.laptop>
In-Reply-To: <4A7EDDB1.6060208@gmx.de> (Christoph Mallon's message of "Sun, 09 Aug 2009 16:31:13 %2B0200")
References:  <409F1C03-B18C-4084-93D0-3D1918D7F105@exscape.org> <20090808174443.GT1292@hoeg.nl> <200908081044.55066.mel.flynn%2Bfbsd.current@mailing.thruhere.net> <87my692ix7.fsf@kobe.laptop> <4A7EDDB1.6060208@gmx.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 09 Aug 2009 16:31:13 +0200, Christoph Mallon <christoph.mallon@gmx.de> wrote:
> Giorgos Keramidas schrieb:
>> On Sat, 8 Aug 2009 10:44:54 -0800, Mel Flynn <mel.flynn+fbsd.current@mailing.thruhere.net> wrote:
>>> Also, what's the equivalent of find /usr/src -type d -name CVS -exec
>>> echo TRELENG_8 \>{}/Tag \; or do we have to svn diff for local
>>> patches, rm -rf, checkout stable/8 and re-apply diffs?
>>
>> It should be possible to 'svn switch'...
>>
>>   cd svn-head-workspace
>>   svn switch --relocate http://svn.freebsd.org/base/stable/8
>
> --relocate is used *only* if the URL of the repository changes but the
> content stays the same. E.g. FreeBSD gets renamed to UnfreeBSD and so
> the URL of the repository changes to http://svn.unfreebsd.org/base/,
> then you use --relocate. svn switch --relocate does something completely
> different than svn switch. The latter is used to switch between
> branches.

You are right, of course.  Thanks :)

I got too used to --relocate by using it to switch between
/home/svn/base and svn+ssh access to the main repo.  To switch between
branches of the same repository --relocate is not needed (and may
actually cause problems, now that I think about it).




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87ab28oiyd.fsf>