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.