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

Re: [PATCH] Fix issue #3532, 'svn update' via ra_serf of locked file in locally deleted dir triggers assert and breaks WC

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Thu, 17 Mar 2011 19:42:26 +0000

Julian Foad <julian.foad_at_wandisco.com> writes:

> However, this attempt at the patch is ugly. It stats the file to see if
> it exists, and I just get the feeling it should be doing it some
> "better" way. Something should be different about the structure of the
> code - probably the larger tree conflict handling code and read-only bit
> twiddling code outside the block that this patch touches - but I can't
> see what exactly.
> How can it be better?

If it is valid for the file to not exist add a "may-not-exist" flag to
the workqueue item, and when running the item set ignore_enoent=TRUE.

Received on 2011-03-17 20:43:01 CET

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.