From owner-freebsd-current Sat Jul 22 03:10:37 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.11/8.6.6) id DAA18084 for current-outgoing; Sat, 22 Jul 1995 03:10:37 -0700 Received: from eikon.regent.e-technik.tu-muenchen.de (eikon.regent.e-technik.tu-muenchen.de [129.187.42.3]) by freefall.cdrom.com (8.6.11/8.6.6) with SMTP id DAA18078 for ; Sat, 22 Jul 1995 03:10:31 -0700 Received: from vector.eikon.e-technik.tu-muenchen.de ([129.187.142.36]) by eikon.regent.e-technik.tu-muenchen.de with SMTP id <55369>; Sat, 22 Jul 1995 12:10:21 +0200 Received: from localhost (localhost [127.0.0.1]) by vector.eikon.e-technik.tu-muenchen.de (8.6.11/8.6.9) with SMTP id XAA24371; Thu, 20 Jul 1995 23:11:59 +0200 Message-Id: <199507202111.XAA24371@vector.eikon.e-technik.tu-muenchen.de> X-Authentication-Warning: vector.eikon.e-technik.tu-muenchen.de: Host localhost didn't use HELO protocol To: David Greenman cc: current@freebsd.org Subject: Re: cvs strings Date: Thu, 20 Jul 1995 23:11:58 +0200 From: "Julian Stacey " Sender: current-owner@freebsd.org Precedence: bulk > From: David Greenman > > >I had hoped to be able to prune down my current src tree > >by establishing per file symbolic links to the new CD-ROM > >(as I've done on previous FreeBSD CDs) > > > >This time round, many files are just subtly different enough > >to defeat my automatic compare & delete tool, here is a typical example: > > diff -c bin/csh/char.c /pub/cd/src/bin/csh/char.c > > *** bin/csh/char.c Wed May 3 15:38:54 1995 > > --- /cd/src/bin/csh/char.c Fri Sep 23 14:53:46 1994 > > *************** > > *** 30,36 **** > > ! * $Id: char.c,v 1.2 1994/09/24 02:53:46 davidg Exp $ > > --- 30,36 ---- > > ! * char.c,v 1.2 1994/09/24 02:53:46 davidg Exp > > > >These changes seem most unfortunate. > >Can we avoid such slight alterations next time round ? > >It seems wasteful on disc space, sup & ctm bandwidth, > >to put a different stamp on a file that has identical contents. > > > >BTW This is a general CVS policy question with no particular reference > >to davidg, who I guess just happened to be in this example > > > >Those tiny strings changes "$Id: " & " $" convey no extra information to me, > >but prevent people with CD-ROMS saving space. > > This definately tops my "most silly things said" list. Of course, I didn't > make such a gratuitous change. The identifier ($Id$, $Log$, etc...) keywords > are automatically removed as part of the cvs export operation, which is how > the final source tree is created. Sorry, but I _can_ see those strings in my current/src, which is why I asked. I've done a compare & delete of a spare copy of my current src tree (not CVS tree), against the CD-ROM, about half the files are identical, du -s -k shows: freebsd/current/src 113096 freebsd/current_src_reduced_against_cd 42005 I'd expect about 90/95 % identical so soon after a release, ie my current_src_reduced_against_cd should be largely symbolic links, with ~5% files, 95% sym links I don't have a CVS tree here, so have not done a local extract that could have failed, I merely have a ctm src tree, As you say those strings get removed by an export, & one can see them in ctm/src, but not on the CD, how come about half the files are the same, & half are not ? Is the ctm src tree produced by export, could some export in the past have failed to strip half the strings ? Here's another example: diff -c etc/services /pub/cd/freebsd-2.0.5.d2/usr//./src/etc/services *** freebsd/current/src/etc/services Wed May 3 16:19:16 1995 --- /pub/cd/freebsd-2.0.5.d2/usr//./src/etc/services Sat Apr 8 15:02:08 1995 *************** *** 9,15 **** # Kerberos services are for Kerberos v4, and are unofficial. Sites running # v5 should uncomment v5 entries and comment v4 entries. # ! # $Id: services,v 1.11 1995/04/09 03:02:08 ache Exp $ # From: @(#)services 5.8 (Berkeley) 5/9/91 # # WELL KNOWN PORT NUMBERS --- 9,15 ---- # Kerberos services are for Kerberos v4, and are unofficial. Sites running # v5 should uncomment v5 entries and comment v4 entries. # ! # services,v 1.11 1995/04/09 03:02:08 ache Exp # From: @(#)services 5.8 (Berkeley) 5/9/91 # # WELL KNOWN PORT NUMBERS To Summarise: How come 40% of the files are different already ? Why does services have $Id: in CTM tree, but not in CD tree ? Julian --- Julian Stacey jhs@freebsd.org