Nils Goroll wrote:
> Hi
> 
> Paul Cunningham wrote:
> 
>>> #ident tags will get updated when a sponsor checks in the changes, so 
>>> I don't understand why I should change them just for the webrev.
>> okay - as long as they get changed before the updates are committed to 
>> the 'gate' (by whoever).
> 
> If teamware is not fundamentally different from other SCMs I know (SCCS, CVS, 
> SVN, HG) then it should replace the tags upon check in and I should not need 
> to 
> worry about them.

TeamWare doesn't handle the tags at all - it leaves that all up to the SCCS
commands.   SCCS is fundamentally different from the tag handling in
RCS/CVS/etc. in that it's too easy to break the tags - when you run "sccs edit",
it converts them back to the "%W" "%E" format - if you then copy in a file
edited outside SCCS that has the expanded keywords, then those expanded forms
are checked in, and they stop auto-updating.   Without the underlying SCCS/s.*
files though, I don't think you can know what the underlying keywords are,
though you can probably guess based on the output & gate conventions.  (Most
likely the biggest difference would be guessing whether they used the shorthand
"%W%" or the long form "%Z%%M%  %I%".)

That said, I expect it's up to whoever is doing the actual checkin to make sure
they get this right - if you provide a set of diffs they apply with gpatch,
gpatch will sccs edit the file before applying them, and as long as the change
in keywords doesn't make the patch fail to apply, it should work correctly.

-- 
        -Alan Coopersmith-           alan.coopersmith at sun.com
         Sun Microsystems, Inc. - X Window System Engineering


Reply via email to