subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bert Huijben" <>
Subject RE: How to undo a switch?
Date Tue, 07 Jun 2011 17:16:32 GMT

> -----Original Message-----
> From: Ulrich Eckhardt []
> Sent: dinsdag 7 juni 2011 17:06
> To:
> Subject: Re: How to undo a switch?
> On Tuesday 07 June 2011, Bill Herring 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.

The current Subversion 1.7 development snapshot warns you when you do this and requires that
you pass --ignore-ancestry if you really want to switch to something unrelated.


View raw message