Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Are RCS ID's bad?
@ 2001-08-09 11:59 Andrew Cagney
  2001-08-09 12:28 ` Kevin Buettner
  0 siblings, 1 reply; 5+ messages in thread
From: Andrew Cagney @ 2001-08-09 11:59 UTC (permalink / raw)
  To: gdb

Hello,

I'm considering deleting any line containing something like:

	$Id: .... $

($Date: ..$; ....) from the GDB source tree.  They make a right mess of 
merges, diffs, compares and the like.

Can anyone come up with a reason to retain these?

GDB has gdb/version.in as a revision identifier.  Going by recent 
e-mail's this is proving very effective - people are identifying GDB 
snapshots and checkouts by date (although sometimes the quoted dates are 
backwards :-)

	Andrew


^ permalink raw reply	[flat|nested] 5+ messages in thread
* RE: Are RCS ID's bad?
@ 2001-08-09 13:20 Mcspadden, William C
  2001-08-09 22:40 ` Andrew Cagney
  0 siblings, 1 reply; 5+ messages in thread
From: Mcspadden, William C @ 2001-08-09 13:20 UTC (permalink / raw)
  To: 'Andrew Cagney', gdb

I find the RCS keywords useful (except for $Log$) and would not
recommend deleting them. 

For purposes of merges and diffs, keyword expansion can be suppressed
by cvs when you do a checkout. See chapter 12 of the CVS manual for
a discussion of this. 

This eliminated the many problems I had when doing merges caused by
the very thing you describe. However, it didn't eliminate the problems
with the $Log$ expansion. Just don't use $Log$.

Bill Mc.

> -----Original Message-----
> From: Andrew Cagney [ mailto:ac131313@cygnus.com ]
> Sent: Thursday, August 09, 2001 11:59 AM
> To: gdb@sources.redhat.com
> Subject: Are RCS ID's bad?
> 
> 
> Hello,
> 
> I'm considering deleting any line containing something like:
> 
> 	$Id: .... $
> 
> ($Date: ..$; ....) from the GDB source tree.  They make a 
> right mess of 
> merges, diffs, compares and the like.
> 
> Can anyone come up with a reason to retain these?
> 
> GDB has gdb/version.in as a revision identifier.  Going by recent 
> e-mail's this is proving very effective - people are identifying GDB 
> snapshots and checkouts by date (although sometimes the 
> quoted dates are 
> backwards :-)
> 
> 	Andrew
> 
> 


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-08-10  2:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-09 11:59 Are RCS ID's bad? Andrew Cagney
2001-08-09 12:28 ` Kevin Buettner
2001-08-09 13:20 Mcspadden, William C
2001-08-09 22:40 ` Andrew Cagney
2001-08-10  2:53   ` Richard Earnshaw

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox