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

Re: svn switch to an incorrect branch deletes modified local files

From: Ben Collins-Sussman <sussman_at_red-bean.com>
Date: Wed, 23 Apr 2008 20:26:04 -0500

On Wed, Apr 23, 2008 at 6:26 PM, Aaron Eppolito <aarone_at_apple.com> wrote:

> At the very least, it shouldn't be deleting files with modifications!
> Thankfully, I still had these open in an editor so I was able to save them
> to a new location, but otherwise, I would have lost all my local changes.

As others have pointed out over and over, the modified files weren't
actually deleted from disk -- they just became unversioned. As a
point of interest, 'svn up' and 'svn switch' are the exact same
codepath, and thus share this behavior. If your co-worker commits the
deletion of a file which you've locally modified, 'svn up' will
likewise print a big "D file", but won't actually delete the file.

To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-04-24 03:26:24 CEST

This is an archived mail posted to the Subversion Dev mailing list.

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