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

Re: Tree terminology Question: children vs descendants

From: Daniel Rall <dlr_at_collab.net>
Date: 2007-04-16 18:38:23 CEST

On Mon, 16 Apr 2007, C. Michael Pilato wrote:

> Paul Burba wrote:
> > While working on merge-tracking these last few weeks a question on tree
> > terminology came up:
> >
> > In this tree:
> >
> > A
> > |___
> > | |
> > B C
> > | |___
> > | | |
> > D E F
> >
> > When we talk about A's children do we mean B,C,D,E,F or only B and C?
>
> When *I* say it, I mean [B, C].
>
> > In the doc string for functions like discover_and_merge_children() we
> > use "child" to mean the former, i.e. all descendants of A.
>
> That's no good. Call those "descendants".

I'm not a big fan of the term "descendants" here, since to me it means
something else in terms of versioned nodes in Subversion's file system
(closer to "successors"). No better suggestion ATM, though. *shrug*

  • application/pgp-signature attachment: stored
Received on Mon Apr 16 18:38:58 2007

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.