Stephen Lau ??:
> Forrest Wu wrote:
>   
>> Hi steve,
>>
>> I am a little bit confusion with this. For TeamWare, how HdrChk.py catch 
>> a file without #ident error? On the other hand, for Mercurial, how 
>> HdrChk.py catch a file with #ident error? Because of HdrChk.py doesn't 
>> know what is the game role for the given file.
>>     
>
> For Teamware, a file without #ident will be caught by the 
> usr/src/tools/scripts/keywords.sh check (as run by 'wx keywords' or pbchk)
>
> For Mercurial, a file with #ident AND SCCS keywords will be caught by 
> our Keywords check (usr/src/tools/onbld/Checks/Keywords.py) as invoked 
> by Cadmium's 'keywords' or 'pbchk'.
>
> So the trick isn't in HdrChk.py, it's in the fact that different 
> keywords checks (tools/scripts/keywords.sh vs. 
> tools/onbld/Checks/Keywords.py) are invoked by different SCM tools (wx 
> vs. hg/cdm).
>   
Make sense.
One issue I notice is line #64 in scripts/hdrchk.py.  '-a' will never 
become effective, due to lenient was not passed in function hdrchk().

-- 
Thanks,

Forrest Wu, Sun China Engineering & Research
+86 10 62673294 http://blogs.sun.com/forrest

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://mail.opensolaris.org/pipermail/scm-migration-dev/attachments/20070906/0ab0d266/attachment.html>

Reply via email to