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

Re: SWITCH changes URL case, causing failure

From: Ulrich Eckhardt <ulrich.eckhardt_at_dominolaser.com>
Date: Tue, 13 Sep 2011 14:09:01 +0200

On Tuesday 13 September 2011, Greg Chappell wrote:
> I'm having an issue with version 1.6.16 of tortoise when attempting to
> perform a SWITCH.
>
> Switch generates the following message:
>
> Command: [LocalHDD]\RELEASES\3.12.2\3.12.2.Release\Content to
> [InhouseSVNServer]/releases/3.12.2/3.12.2.release/Content, Revision HEAD

This would be a relocation, because it switches the repository root URL. Or am
I misinterpreting the "[URLs]" in your message above? In case you did not
choose "relocate", then you shouldn't be changing the access protocol. Don't
mix relocation and switching!

> Error: Target path does not exist

This can be caused by SVN being case sensitive.

> The parent folders, 'RELEASES' and '3.12.2' and '3.12.2.Release' on my
> local HDD, were each checked out as 'Immediate children, including
> folders' - this allows me to see any new projects that have been added
> without the need to transfer all the files I don't need across our WAN.
>
> The 'Content' folder is very large, almost 1GB, and is replicated in the
> many branches due to each branch having their own various differences.
>
> So to save time and network activity, I check out the 'Content' folder
> once and copy into each of my active branches, then perform a SWITCH to
> point to the correct SVN branch.

This should work. There is one problem though, and I'm not sure if that is the
reason. The path inside the repository corresponding to a folder (which is
what you change using "svn switch ..") is relevant to both the folder itself
(i.e. needed in the metadata of the folder) and to the parent folder's
metadata. If you copy the folder to another place inside an existing working
copy, I'm not sure if you can "connect" these two again.

> The SWITCH is occurring FROM:
>
> [Inhouse SVN Server]/releases/3.12.2/3.12.2.work/Content
>
> TO:
>
> [Inhouse SVN Server]/releases/3.12.2/3.12.2.Release/Content

Note: This would indeed be a switch, not a relocation as I suspected above.

> I don't know if this is related, but I had originally typed in the new
> path using a lower case 'r' for 'release',

If this is a local filesystem path, it doesn't matter. If it is a path inside
the repository, it does matter and will lead to problems. There is one thing
I'd try to make sure, and that is that you don't accidentally have different
spelling of the same folder somewhere. You can check this using the repository
browser, which retrieves content online and is not affected by local
filesystem limits.

> Your suggestions would be most appreciated, as I mentioned this
> 'Content' folder is quite large, and using SWITCH this way saves many
> hours when needing to work on multiple concurrent branches.

I'm not sure if you are aware of that, but the general suggestion is to avoid
checkouts. Only check out once and keep the working copies up to date. I'm
aware that this doesn't always work though, so YMMV.

BTW: I guess this issue is not specific to TortoiseSVN but SVN in general. It
would be interesting if you could reproduce it using the commandline, because
the CLI allows easier reproduction.

Good luck!

Uli

-- 
ML: http://tortoisesvn.tigris.org/list_etiquette.html
FAQ: http://tortoisesvn.net/faq
**************************************************************************************
Domino Laser GmbH, Fangdieckstra�e 75a, 22547 Hamburg, Deutschland
Gesch�ftsf�hrer: Thorsten F�cking, Amtsgericht Hamburg HR B62 932
**************************************************************************************
Visit our website at http://www.dominolaser.com
**************************************************************************************
Diese E-Mail einschlie�lich s�mtlicher Anh�nge ist nur f�r den Adressaten bestimmt und kann vertrauliche Informationen enthalten. Bitte benachrichtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte Empf�nger sein sollten. Die E-Mail ist in diesem Fall zu l�schen und darf weder gelesen, weitergeleitet, ver�ffentlicht oder anderweitig benutzt werden.
E-Mails k�nnen durch Dritte gelesen werden und Viren sowie nichtautorisierte �nderungen enthalten. Domino Laser GmbH ist f�r diese Folgen nicht verantwortlich.
**************************************************************************************
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2838181
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-09-13 13:56:36 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.