[Top][All Lists]

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

Re: sccs2rcs to perl

From: Larry Jones
Subject: Re: sccs2rcs to perl
Date: Fri, 8 Mar 2002 16:38:01 -0500 (EST)

Karl E. Jorgensen writes:
> Almost: SCCS stores the first version ad verbatim, followed by a delta
> for each version (=revision in RCS-speak).

No, it most certainly does not.  SCCS stores all of the versions in an
interleaved form, something like:

        #inserted in revision 1:
        line 1
        line 2
        #inserted in revision 2:
        line 2a
        line 2b
        #end revision 2
        line 3
        line 4
        #removed in revision 3:
        line 5
        line 6
        #end revision 3
        line 7
        line 8
        line 9
        #end revision 1

So, *no* version is stored ad verbatim, there are no "diffs" per se, and
it takes almost exactly the same time to retrieve any revision.

-Larry Jones

It's either spectacular, unbelievable success, or crushing, hopeless
defeat!  There is no middle ground! -- Calvin

reply via email to

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