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

Re: How to undo 'switch to'?

From: Ulrich Eckhardt <ulrich.eckhardt_at_dominolaser.com>
Date: Tue, 7 Jun 2011 14:35:01 +0200

On Tuesday 07 June 2011, you wrote:
> I have just selected a file and chose ‘switch to’ a tag recently used to
> tag a release of my complete project. I mistakenly assumed that in doing
> so I would just switch the particular file to the version in the tagged
> release.

The reason that this doesn't work is that Subversion is a versioned storage
for files. What many people consider tags or branches is completely irrelevant
to Subversion itself, so it can't determine the "correct" file within your
"project" when you switch a file to a certain "tag".

BTW: In case you wonder if that is a bug or feature, I have used this feature
to switch a file to a directory.

> I just cannot find a way to reverse this, retrieve the correct version of
> my file, and keep SVN happy at the same time.

Just switch the directory back to the former URL, or directly to the actual
file's URL that you wanted to switch it to in the first place.

Cheers!

Uli
**************************************************************************************
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=2759579

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-06-07 14:35:27 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.