Will Fiveash writes:
> I'm cc'ing scm-migration-dev at opensolaris.org on this.
> 
> On Thu, Jun 26, 2008 at 05:18:07PM -0500, Will Fiveash wrote:
> > I recently added a shell script (krb-diag) to the opensolaris kerberos
> > hg repository: ssh://anon at hg.opensolaris.org/hg/kerberos/tools
> > 
> > What confuses me is that I looked at the scripts in the onnv-scm hg
> > repository (onnv-scm/usr/src/tools/scripts) and I see unexpanded SCCS
> > keywords in the script files.  So I left the unexpanded SCCS keywords in
> > krb-diag.  I'm betting this was wrong since the script should have a
> > current version number in it.  What was I supposed to do here?
> 
> Is this documented somewhere on
> http://www.opensolaris.org/os/community/tools/scm/hg_teamware_transition/
> ?

You did the right thing.

All of the old SCCS keywords will be ripped out after the gate itself
converts to Mercurial.  They don't do anything, and there's no
reasonable way to insert anything equivalent for Mercurial.  (Hg
doesn't have per-file version numbers or expanding keywords like SCCS
or RCS.)

I didn't find that in the transition document, and I'm not sure why.
The folks writing those documents have used hg for a while, and
perhaps it just seemed too "obvious" -- though it's not for someone
with a Teamware background.  It probably should be there.

For now, until the transition, leave them in place as they are, and do
*NOT* build any code that relies on those strings.  (Such code was
almost invariably kludgey anyway.)

-- 
James Carlson, Solaris Networking              <james.d.carlson at sun.com>
Sun Microsystems / 35 Network Drive        71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677

Reply via email to