Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jul 1995 23:11:58 +0200
From:      "Julian Stacey <jhs@freebsd.org>" <jhs@vector.eikon.e-technik.tu-muenchen.de>
To:        David Greenman <davidg@Root.COM>
Cc:        current@freebsd.org
Subject:   Re: cvs strings 
Message-ID:  <199507202111.XAA24371@vector.eikon.e-technik.tu-muenchen.de>

next in thread | raw e-mail | index | archive | help

> From: David Greenman <davidg@Root.COM>
> 
> >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



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