Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Nov 1996 03:37:16 +0800
From:      Peter Wemm <peter@spinner.DIALix.COM>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        adam@freefall.freebsd.org, cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-usrsbin@freefall.freebsd.org
Subject:   Re: cvs commit: src/usr.sbin/xntpd/doc xntpd.8 
Message-ID:  <199611031937.DAA27839@spinner.DIALix.COM>
In-Reply-To: Your message of "Mon, 04 Nov 1996 01:27:45 %2B1100." <199611031427.BAA09883@godzilla.zeta.org.au> 

next in thread | previous in thread | raw e-mail | index | archive | help
Bruce Evans wrote:
> >  Modified:    usr.sbin/xntpd/doc  xntpd.8
> >  Log:
> >  typo
> >  
> >  Revision  Changes    Path
> >  1.2       +667 -914  src/usr.sbin/xntpd/doc/xntpd.8
>              ^^^^^^^^^
> 
> Only one? :-)
> 
> Bruce

Yes, I have mentioned this "feature" of rcs/cvs a few times over the last 
few weeks.  The 1.2 delta is stored relative to 1.1.1.1, not the most 
recent import..  Yes, this is rather unfortunate.

~src/usr.sbin/xntpd/doc-161> cvs diff -r1.1.1 -r1.2 xntpd.8 
Index: xntpd.8
===================================================================
RCS file: /home/ncvs/src/usr.sbin/xntpd/doc/xntpd.8,v
retrieving revision 1.1.1.5
retrieving revision 1.2
diff -r1.1.1.5 -r1.2
123c123
< compute one-way delay correction factors and comfigure itself
---
> compute one-way delay correction factors and configure itself

~src/usr.sbin/xntpd/doc-162> cvs diff -r1.1 -r1.2 xntpd.8 | wc -l
    1819
~src/usr.sbin/xntpd/doc-163> cvs diff -r1.1.1.1 -r1.2 xntpd.8 | wc -l
    1819
~src/usr.sbin/xntpd/doc-164> cvs diff -r1.1.1.5 -r1.2 xntpd.8 | wc -l
      10

Yes, this 1-character change really is stored as a 1300 line delta in the 
underlying rcs ,v file :-(.  (lines 1200 through 2347 in xndpd.8,v)

This is one of the really ugly side effects of importing code.  Whenever a 
file is "touched" for the first time, it doubles the size of the deltas in 
the file.  eg: to import (say) sendmail-8.7 and later import 8.8, the rcs 
files contain a delta from 8.7 to 8.8, and whenever the files are 
"touched" for a "quick fix", the entire set of deltas right from the very 
first version imported are  "copied" to get a delta from 1.1.1.1 to 1.2.

This is another reason why it is *vital* that there are as few as possible 
unnecessary commits to stuff in contrib, as the deltas there get very 
large, very quickly inbetween versions.  This is also partly why the "old 
way" of having things like gcc sources in the src/gnu/usr.bin/cc got out 
of hand.

-Peter





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199611031937.DAA27839>