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

Re: CVS update: subversion/subversion/include svn_delta.h

From: Greg Stein <gstein_at_lyra.org>
Date: 2000-10-03 00:26:11 CEST

On Mon, Oct 02, 2000 at 05:01:25PM -0500, Karl Fogel wrote:
>...
> Let's please go with the least common denominator for now, which (I
> believe) is depth-first calls. The XML generator depends on that, the
> working copy is a lot happier with it to, and other uses are (?) as
> comfortable with depth-first as with any other order.
>
> Greg (Stein), you mentioned that you do breadth first. Which editor
> are you calling into for this, and for what purpose? I think if we
> can compare a depth-first-required situation with your breadth-first
> situation, we'll understand things a lot better.

libsvn_ra_dav's svn_ra_checkout() is calling the provided editor in a
breadth-first manner. Generally, that will be the WC "update" editor to
effect the changes generated by the checkout semantic.

Hmm. Now that I think about it, I may be doing it depth-first. [checking]
Yup. I append subdirs to an array [of dirs to process], then pop them off
from the end of the array to process them. i.e. depth-first

But I would still lobby for unrestricted traversals :-)

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
Received on Sat Oct 21 14:36:09 2006

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.