RCS tags in ada source files

Fergus Henderson fjh@cs.mu.OZ.AU
Thu Mar 14 17:38:00 GMT 2002


On 14-Mar-2002, David O'Brien <obrien@FreeBSD.org> wrote:
> On Thu, Mar 14, 2002 at 06:32:34PM +1100, Fergus Henderson wrote:
> > On 13-Mar-2002, David O'Brien <obrien@FreeBSD.org> wrote:
> > > On Thu, Mar 14, 2002 at 05:27:28PM +1100, Fergus Henderson wrote:
> > > > On 13-Mar-2002, Robert Dewar <dewar@gnat.com> wrote:
> > > > > <<*Quite* a shame.  Often I have wanted to know what revision (from the FSF
> > > > > repo) of a GCC or Binutils file I have.
> > > > 
> > > > So ship the `CVS' directories in the source distribution.
> > > > That keeps the revision numbers present, but in a place where
> > > > they don't cause problems for `diff' or `cvs diff'.
> > > 
> > > You might be surprised by the number of people that import GCC/Binutils
> > > bits into their own CVS repositories.  *BSD's, Cygnus, Wind River, many
> > > other embedded companies, etc..  It would not be easy to have the FSF
> > > CVS/ laying around.
> > 
> > Why not?  `cvs import' ignores `CVS' directories by default anyway.
> 
> Huh??  Yes, I know CVS import ignores `CVS' directories.
> Perhaps you have totally missed what would be nice -- that is for me to
> look at a file -- ~/my_embedded_project/gcc/gcc.c and find what revision
> this is in the FSF CVS repository.

Oh, I see.  Yes, I did miss your point.

But that could be solved by doing

	find . -name CVS -exec mv '{}' '{}'.FSF ';'

(to rename all the CVS directories to CVS.FSF)
before you do each cvs import.

-- 
Fergus Henderson <fjh@cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.



More information about the Gcc mailing list