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

Re: bug in update -N hoses wc (issue #3039 )

From: David Glasser <glasser_at_davidglasser.net>
Date: 2007-12-06 22:25:55 CET

On Dec 6, 2007 12:40 PM, Miller, Eric <Eric.Miller@amd.com> wrote:
> > Eric, what version of server and client (ie, released version 1.4 or
> > trunk?)
>
> 1.4.4 - For some reason I have issues building from the trunk.

Are you able to build older versions but not trunk?

> > On trunk, -N has been completely reimplemented, so this is kind of
> > important! (Do please follow the buddy system for issues in the
> > future.)
>
> Will do. Does it work as expected on trunk?

This bug does appear to exist on trunk. I think the basic problem is
that we attempt to use the requested depth of the operation to tell us
how deep we have to lock the working copy (ie, only lock the top if
it's a shallow update), but if we're deleting a directory we need to
have the whole directory locked.

We could solve this by always locking all the way down, or by
extending the lock when it is time to delete. (Man, I want a WC where
all locks are deep because there's only one place where you need to
lock them.) Karl, opinions?

Repro recipe attached to issue 3039.

--dave

-- 
David Glasser | glasser_at_davidglasser.net | http://www.davidglasser.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Dec 6 22:26:06 2007

This is an archived mail posted to the Subversion Dev mailing list.