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

Re: Is this a bug in the incomplete=true handling?

From: <kfogel_at_collab.net>
Date: 2003-08-22 15:40:38 CEST

Philip Martin <philip@codematters.co.uk> writes:
> The way I would expect to recover is to "rm -rf wc/foo" and then
> update, but that doesn't work. The working copy reporter doesn't
> appear to handle missing directories in an incomplete working copy.
> Looking at libsvn_wc/adm_crawler.c:report_revisions:309 I see that the
> path foo is correctly identified as missing, but because the
> report_everything flag is set the reporter->delete_path call is not
> made and an attempt is made to access the missing working copy.
>
> Is this a bug in the incomplete=true handling, or this scenario just
> not supposed to happen?

I think the fact that removing-a-directory-and-updating doesn't work
the same way removing-a-file-and-updating does is a bug, though not a
horrifying one.

What happens if one tries to check out the directory in place as a
workaround? Does svn trip up when trying to add its entry in the
parent, because the entry is already there?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Aug 22 16:25:47 2003

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.