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

RE: Stumped on switch relocate

From: Harvey, Edward <Edward.Harvey_at_patni.com>
Date: Mon, 31 Mar 2008 00:11:17 -0400

I'm pretty sure that if you relocate a subdirectory, and then try to relocate its parent, you'll have a problem as described. The same is true if any subfolder can't be accessed for some reason. At least, this has been my experience, having done several relocations recently.

I suggest: Move the already-relocated subfolder out of the parent folder. And then try the relocation again on the parent folder.

If you're still stuck, do a svn status on the parent, and move anything that's locally modified out. After the relocation, you should do an update, and move the local changes back in again.

Before I move a repository, I always give users some warning, and tell them to all do their updates & commits. This really helps to minimize the problems afterward.

> -----Original Message-----
> From: Victor Stone [mailto:fourstones.net_at_gmail.com]
> Sent: Friday, March 28, 2008 6:12 PM
> To: users_at_subversion.tigris.org
> Subject: Stumped on switch relocate
>
> Using 1.4.3 I'm getting the dreaded "Relocate can only change the
> repository part of an URL" when doing switch --relocate
>
> I've looked through the source and found this error message exactly
> once in libsvn_wc/relocate.c and can't figure what it could be.
>
> I have no extra path information (which would be stripped off in the
> function mentioned above anyway) and I've verified that my 'from' URL
> is the exact same URL as that in .svn/entries file. I'm assuming it's
> failing right at the root because it's entries file is not being
> re-written.
>
> One special note: before I tried doing this at the root I cd'd into a
> leaf node of the project and performed the 'relocate' command there
> and it worked (!) which gave me confidence to try it at the root,
> where I started getting the error. I have since tried it in another
> leaf node and it failed again.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: users-help_at_subversion.tigris.org

This e-mail message may contain proprietary, confidential or legally privileged information for the sole use of the person or entity to whom this message was originally addressed. Any review, e-transmission dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this e-mail in error kindly delete this e-mail from your records. If it appears that this mail has been forwarded to you without proper authority, please notify us immediately at netadmin_at_patni.com and delete this mail.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-03-31 06:11:50 CEST

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.