Hi,Rich & Steve: Very thanks for you detailed review.Here is new scripts after make some modifications. >> >> Hi Jason, >> >> A few things, most of them nits. >> >> - Update/fix format of copyright >> >> - SCCS Keywords shouldn't be expanded (and possibly should be removed) >> >> - flg.flp.sh:76 Use 'workspace name' to test for TeamWare, not >> $CODEMGR_WS/Codemgr_wsdata (and adjust error message further down) >> >> - xref.sh:102 Same as above. >> >> - Wrap lines at 80 columns. >> >> -- Rich > > My comments: > flg.flp: > CDDL text should be updated > > 76:same comment as Rich, though I think that you might need to > bring 'workspace' into the path in 36. If 'workspace' can't be found, > then it seems reasonable to keep the current '-n $CODEMGR_WS && -d > ...' check as a fallback. If you update it, change the help text at > 190 to reflect that. > I made a change as following:
1.change Copyright to 2007 2.remove SCCS keywords 3.use "cstyle" make a check to ensure the line characters. 4.change CDDL header 5.add 'workspace name' as following order: - first, check 'workspace name' exists ---> teamware - second,check 'hg root' exists ---> mercurial - if above both not exist,check $CODEMGR_WS and -d $CODEMGR_WS/Codemgr_wsdata,if exists--->teamware - none above,unknown. 6.help and path codes. - PATH=/usr/bin:/usr/ccs/bin:${BUILD_TOOLS:-/ws/on10-tools}/teamware/bin(flg.flp line 34) - CODEMGR_WS=`workspace name` if teamware(flg.flp line 201) - Help info Unable to determine SCM type currently in use. For teamware: /usr/local/sbin/flg.flp looks for either in the environment or in the file list. Run 'workspace name' to check if in workspace <------------ added For mercurial: /usr/local/sbin/flg.flp runs 'hg root'. I attach the new xref and flg.flp. Thanks Jason -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: flg.flp URL: <http://mail.opensolaris.org/pipermail/scm-migration-dev/attachments/20070618/42171798/attachment.ksh> -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: xref URL: <http://mail.opensolaris.org/pipermail/scm-migration-dev/attachments/20070618/42171798/attachment-0001.ksh>