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

RE: Relocate continued

From: Huston, Robert _at_ AS <_at_>
Date: 2005-05-25 17:33:47 CEST

I was able to try this on an archive of an old directory and the two-phase
process does indeed work.

1. Use "svn switch --relocate" to change only the "leads_to_repository" part
of the URL.
2. Use "svn switch" to change to the new branch path.

Thank you.

-----Original Message-----
From: Max Bowsher [mailto:maxb@ukf.net]
Sent: Wednesday, May 25, 2005 10:58 AM
To: Nelson, Charles @ AS; users@subversion.tigris.org
Cc: Huston, Robert @ AS
Subject: Re: Relocate continued

Nelson, Charles @ AS wrote:
> SubVersion,
>
> This is an additional question asked by my boss:
>
>>
>> But the URL that leads to the repository DID change. The "blind
>> rewrite" is what I thought we wanted.
>>
>> Or, should we have done it in two phases? In other words, should the
>> procedure have been:
>>
>
>> 1. Do an "svn switch --relocate" but only change "Project_Name" to
>> "PN"
>> (i.e., leave everything else the same) 2. Do a standard "svn switch"
>> to point to the new location in the repository.
>>

The rule is:

URL *to* the repository changes: --relocate Path *within* the repository
changes: plain switch

If both apply, then yes, you need a two phase process.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed May 25 21:01:10 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.