bin/66877: $Id$ strings are a revision behind in cvsweb

Simon L. Nielsen simon at FreeBSD.org
Mon Sep 27 04:30:32 PDT 2004


The following reply was made to PR bin/66877; it has been noted by GNATS.

From: "Simon L. Nielsen" <simon at FreeBSD.org>
To: Ceri Davies <ceri at FreeBSD.org>
Cc: freebsd-gnats-submit at FreeBSD.org
Subject: Re: bin/66877: $Id$ strings are a revision behind in cvsweb
Date: Mon, 27 Sep 2004 13:20:48 +0200

 --nFreZHaLTZJo0R7j
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 On 2004.09.27 11:11:13 +0000, Ceri Davies wrote:
 > Synopsis: $Id$ strings are a revision behind in cvsweb
 >=20
 
 > This isn't a cvsweb problem; command line cvs does the same thing:
 >=20
 > $ cvs -R diff -u -p -r1.6 -r1.7 src/sys/netinet/in_pcb.h
 > Index: src/sys/netinet/in_pcb.h
 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
 > RCS file: /home/ncvs/src/sys/netinet/in_pcb.h,v
 > retrieving revision 1.6
 > retrieving revision 1.7
 > diff -u -u -p -r1.6 -r1.7
 > --- src/sys/netinet/in_pcb.h	9 Apr 1995 01:29:19 -0000	1.6
 > +++ src/sys/netinet/in_pcb.h	9 Apr 1995 16:46:47 -0000	1.7
 > @@ -31,12 +31,14 @@
 >   * SUCH DAMAGE.
 >   *
 >   *	@(#)in_pcb.h	8.1 (Berkeley) 6/10/93
 > - * $Id: in_pcb.h,v 1.5 1995/03/16 18:14:52 bde Exp $
 > + * $Id: in_pcb.h,v 1.6 1995/04/09 01:29:19 davidg Exp $
 
 Well, this is actually correct.  The reason is that the FreeBSD CVS
 repository now only expands $FreeBSD$ when extracting, nothing else.
 
 What you see above is actually the real commit.  When 1.7 was
 committed the Id line from 1.6 (which was of course in the committers
 local file) was actually committed into CVS like any other change.  I
 think more recent versions of CVS has changed that so the keyword
 expansions are not actually commited in.
 
 If you look at the actual ,v file in the repostiory it has:
 
 1.7
 log
 @#include <sys/queue.h> or die horribly.
 @
 text
 @d34 1
 a34 1
  * $Id: in_pcb.h,v 1.6 1995/04/09 01:29:19 davidg Exp $
 a38 2
 
 #include <sys/queue.h>
 @
 
 I don't really think there is a way to "fix" this, since that would
 require some magic to tell CVS when it should expand $Id$ and when it
 should not.
 
 --=20
 Simon L. Nielsen
 FreeBSD Documentation Team
 
 --nFreZHaLTZJo0R7j
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.6 (FreeBSD)
 
 iD8DBQFBV/ePh9pcDSc1mlERAsJ0AKCRQ432tVNOJU1AJ7cNhuSjI7j8AwCcD4cB
 GYT2lWrJvvlOtGHMcM9z4Zw=
 =n0gr
 -----END PGP SIGNATURE-----
 
 --nFreZHaLTZJo0R7j--


More information about the freebsd-bugs mailing list