[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: branch info

From: Larry Jones
Subject: Re: branch info
Date: Thu, 19 Jun 2003 00:43:08 -0400 (EDT)

Ronald Petty writes:
>  (means it branched at 1.2), however if you look at 1.2 it says
> branch is a branch rooted at itself, which is the exact same
> information.

As I'm sure I've explained to you before, what the branch node gives you
is the first revision on the branch.  For example, the first revision on
branch 1.2.2 is not necessarily, it might be

> It looks to me how you chose to write your programs to get the data. 
> For people writing parsers (myself), if you don't know any information
> on the given ,v file, it is simple to just take all the num information
> from delta and construct the graph.  The alternative is to follow the
> branches that are listed under the given branch point.  I can't say
> which is better, but both give me the same information.  Actually num is
> faster for parsing since you just divide it out to get branch points.

If all you want is the branch points, then that's true.  Usually,
however, you want a list of revisions from the root of the tree to a
particular node, so following the next and branch links makes more sense
then trying to work backwards.  Don't forget that revisions can be
deleted, so revisions aren't necessarily contiguous.

-Larry Jones

I'm getting disillusioned with these New Years. -- Calvin

reply via email to

[Prev in Thread] Current Thread [Next in Thread]