This is also covered in this note: http://www.opensolaris.org/os/community/on/flag-days/pages/2008080405/
--Mark On Thu, 7 Aug 2008, Dan Mick wrote: > Date: Thu, 07 Aug 2008 18:46:27 -0700 > From: Dan Mick <Dan.Mick at Sun.COM> > To: Stephen Lau <stevel at opensolaris.org> > Cc: Alan Perry <Alan.Perry at Sun.COM>, scm-migration-dev at opensolaris.org > Subject: Re: [scm-migration-dev] hg pbchk and #pragma ident > > Stephen Lau wrote: >> Alan Perry wrote: >>> James C. McPherson wrote: >>> >>>> Alan Perry wrote: >>>> >>>>> hg pbchk is complaining about the id tags in #pragma ident. I >>>>> thought pragma idents were supposed to stay in the file, right? >>>>> >>>> Nope, they have to go. >>>> >>>> http://www.opensolaris.org/os/community/tools/scm/hg_teamware_transition/hg_workflow/ >>>> >>>> doesn't say it explicitly, but there have been plenty of >>>> emails on the topic, and the message has been consistent :) >>>> >>> Actually, this is incorrect. What we were told is that "user-visible" >>> instances of SCCS keyword usage (such as the module name string in >>> drivers) would need to be changed. I was among the first people to fix >>> a driver in preparation for SCCS keywords going away. I can not find >>> the e-mail at the moment, but when the "remove SCCS keywords" directive >>> came down, we were told to leave the ident string. >>> >>> Since some form of the #pragma ident or #ident string is in very close >>> to almost every file in ON, if they are an issue, why aren't they being >>> removed by script or why aren't we having a fire drill to remove them >>> (like when we added the CDDL header)? >>> >>> alan >>> >> I thought the plan was for all user-visible SCCS keywords to be removed >> prior to the migration putback. >> And then things like #pragma ident SCCS keywords were to be removed as >> people made changes to those files (so, in this case, Alan should remove >> them) > > Yes. No #ident changes before hg switchover, remove #ident keywords on an > as-touch basis after the switchover. RTI nits now says this, and Val > announced it: > > http://opensolaris.org/os/community/on/crt/rti-nits/ > > For Nevada builds 97 and later: > > * ident usage (whether #pragma, ident, or .ident) should be cleaned up > incrementally. If you touch a file, you should remove these strings. The hg > keywords (part of hg nits and hg pbchk) command should correctly complain > about > this. So look for clean hg keywords output. > _______________________________________________ > scm-migration-dev mailing list > scm-migration-dev at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/scm-migration-dev >