Alan Coopersmith <[EMAIL PROTECTED]> writes: > Stephen Lau wrote: >> Currently, I've got a Mercurial python hook that will expand $Id$ to >> something like: >> $Id: fubar 9f7070beca6e 2006-05-23 stevel $ >> so my proposal is to adopt a #ident syntax of: >> # ident $Id$ SMI. >> What do people think of this? It's easy enough to change the >> format, I'd just like to start getting this settled as its one of >> the points we'll need to address in the conversion from Teamware to >> Mercurial. > > Will /usr/ccs/bin/what, mcs, showrev, and similar tools be updated to > search for $Id.*$ instead of @(#) ?
I'd say "In addition to" rather than instead of. I don't believe (at a quick glance) that mcs(1) has any intimate knowledge of @(#), so that should be safe. Given that what(1) has to continue using @(#) (in addition, perhaps), it seems reasonable not to change the post processing rules in ON and similar to use $Id:.*$ for no reason. -- Rich. _______________________________________________ tools-discuss mailing list [email protected]
