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

RE: Failed to update missing (!) added (A) files

From: Miller, Eric <Eric.Miller_at_amd.com>
Date: 2007-03-31 08:24:18 CEST

> -----Original Message-----
> From: Ryan Schmidt [mailto:subversion-2007a@ryandesign.com]
> Subject: Re: Failed to update missing (!) added (A) files
>
> On Mar 30, 2007, at 16:15, Pavel Ivashkov wrote:
>
> > I have a (probably P3) issue, need to confirm it before posting a
> > bug.
> >
> > Steps to reproduce:
> > * in any clean working copy
> > * schedule a file (foo) for addition (now in status A added)
> > * manually delete the file (now in status ! missing)
> > * try to update the file (svn up foo)
>
> I don't think I would consider this a bug; for me, this is a user
error.

I can somewhat agree here - update implies contacting the repository for
changes. You have not submitted any changes and therefore cannot
update.

There is still a bug here though. If you play around with the scenario
enough you'll find that the metadata still tracks the directory as
"added" even though it no longer exists. I forget the exact details,
but it can get in an annoying state.

The real issue is that you can replace "manually delete" with any 3rd
party tool that is not svn-metadata aware and likes to delete or move
things around. There are all sorts of nasty things you get to run into
in these scenarios.

FWIW I did file bugs against some of this behavior -
http://subversion.tigris.org/issues/show_bug.cgi?id=2737
http://subversion.tigris.org/issues/show_bug.cgi?id=2741

But they don't exactly match yours.

Eric

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Mar 31 08:24:53 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.