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

RE: svn switch question

From: Miller, Eric <Eric.Miller_at_amd.com>
Date: 2007-11-02 19:28:05 CET

> I was thinking that I'd like to boil this problem down a bit further.
>
> Let's say I want to take a look at what is in another tag for one of
> my subdirectories:
>
> % cd <work>
> % svn switch <tag-URL> <work>/A
>
> (Look at the files and do whatever. No modifications)
>
> Now lets say I want to switch back to trunk, since I'm done looking
> at whatever was in that tag.
>
> % svn switch <trunk-URL> <work>/A
>
> When 'A' had been deleted from trunk in the interim, there is no way
> to do this. In my opinion, this is a flaw in subversion.
> Regardless of whether you understand the reasoning for it, I believe
> you should always be able to "undo" a switch successfully. I'm
> thinking this is somewhat related to the "depth" issue being dealt
> with in 1.5. Once a directory becomes part of the current working
> copy, it is impossible to remove it.
>
> Lastly, the common "solution" suggested for cases such as this is to
> do a fresh checkout. That's not really a good option in a number of
> cases. I should be able to issue a legal series of commands to get
> me back where I was considering that I didn't do any local
> modifications.

This is a more than adequate summary of the issue, and I'd like to hear
from anyone if this is a known issue, and if it will be addressed in
1.5.

Eric

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Nov 2 19:28:41 2007

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.