Re: What's up with the SVN repository?

From: Giorgos Keramidas <keramida_at_freebsd.org>
Date: Sun, 09 Aug 2009 23:01:14 +0300
On Sun, 09 Aug 2009 16:31:13 +0200, Christoph Mallon <christoph.mallon_at_gmx.de> wrote:
> Giorgos Keramidas schrieb:
>> On Sat, 8 Aug 2009 10:44:54 -0800, Mel Flynn <mel.flynn+fbsd.current_at_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).
Received on Sun Aug 09 2009 - 18:08:17 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:53 UTC