[Top][All Lists]

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

Re: RCS file format

From: Larry Jones
Subject: Re: RCS file format
Date: Tue, 26 Mar 2002 11:40:38 -0500 (EST)

Wim_DAUSY/BE/address@hidden writes:
> Can anyone tell me how exactly
> CVS(RCS) choses to put his deltas?
> The ones from the main trunk are chronologically ordered,
> but the deltas from branches?
> It seems as a puzzle to me.
> I really need to know this.

Why?  The deltas are all linked together through their "next" and
"branches" fields so the actual ordering in the file is irrelevant (and,
as far as I know, unspecified).  For CVS, the relevant code is
RCS_putdtree in src/rcs.c -- starting with the head revision, it prints
it's delta, calls itself recursively on the "next" revision, then calls
itself recursively on each of the "branches" revisions.

-Larry Jones

I won't eat any cereal that doesn't turn the milk purple. -- Calvin

reply via email to

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