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

Re: Failed Switch?

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-12-15 17:22:31 CET

On Dec 15, 2004, at 10:00 AM, Dale Worley wrote:

> Hjörtur Arnarson wrote:
>> I am having trouble with recovering from a failed switch. A switch
>> fails
> when it needs to delete a file or a directory that has not been added
> to the
> repository. When this happens, what is the best way to recover.
>
> It seems to me that switch should never leave the working copy in an
> inconsistent state -- at worst, it might have to quit part way through
> the
> switch, but that would only leave the working copy with mixed
> revisions, and
> possibly some un-versioned files or directories.
>

There was, until very recently, a nasty bug in 'svn switch' which did
exactly this: if you interrupted it, it would leave your working copy
is a corrupted state. (Even worse, it wasn't always immediately
obvious that it was corrupted!)

It's been fixed in /trunk, and it should be out in 1.1.2 soon.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Dec 15 17:25:37 2004

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.