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

RE: Re: Help - possible bug in Subversion!

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-06-04 23:16:08 CEST

On Fri, 2004-06-04 at 16:03, Ray Johnson wrote:

> Perhaps it's as "svn update -N" became a sticky option - with no way
> to make it unsticky?!?!

Here's the bottom line. Don't ever use -N with checkout or update.
It's broken in a hundred ways, and described somewhat in issue 695. I
can't believe we released svn 1.0 with '-N' in the buggy state it's in.

I just reproduced your problem exactly:

$ rm -rf subdir
$ svn up -N
D subdir
$ svn up
[nothing]

...the subdir is gone forever, it's missing from the entries file, and
the entries file has *no* idea that it's got an incomplete list of
entries. It can't come back.

So here's what to do:

1. delete the directory in which you ran 'svn up -N'. it's a broken dir
now.

2. run 'svn up' in the parent dir to get it back (or, if you just
deleted the whole working copy, do a new checkout)

3. never ever touch -N again until we say it's safe. :-)

Ugh.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jun 4 23:18:30 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.