Richard Lowe wrote:
Stephen Lau wrote:
Richard Lowe wrote:
Stephen Lau wrote:
Bill Shannon wrote:
No support for SCCS keywords, or anything like them, in files.
This is something we're working on. Rich Lowe and I (and possibly
others) took passes are keyword filtering, though Rich did more
recent work - my attempt was a long time ago. We both hit
roadblocks though; and I set my attempt aside to work on more
pressing matters.
What are you hoping to accomplish?
We'd initially taken a pass at just porting over the existing SCCS
keywords verbatim.
We would? That's not what was said previously on this alias. It's
also, to the best of my knowledge, not possible.
SCCS keywords are expanded on get, collapsed on delget.
However, there's the sccs edit step which get's your file with
keywords unexpanded, for editing. Thus SCCS-style keywords do not
have to be reversible, there is no step in the process that requires
the expansion to be reversed.
Mercurial, however, does not operate this way. There is no 'edit'
step, and any keyword format used, as best I can tell *MUST* be
reversible.
Sorry - I meant the formats, not the behaviour. Should have clarified...
I meant the format, also.
For instance, the CVS/Subversion like:
$Id$
$Id: foo.c 1.3 2006-10-24 richlowe $
format is operable because it can be reversed based on the $Id and $
markers.
The canonical SCCS format
%Z%%M% %I% %E% SMI
@(#)foo.c 1.3 10/24/06 SMI
Format is not reversible in that fashion, unless one were to use @(#) as
the start marker, and 'SMI' as the end, no longer support the /%.%/
expansions, and basically fake it.
Hrm, I vaguely recall taking a whack at the SCCS format as well...
though I can't find it now. It was a while ago, before we decided that
$Id$ was better (though I don't recall why)
-steve
--
stephen lau // [EMAIL PROTECTED] | 650.786.0845 | http://whacked.net
opensolaris // solaris kernel development
_______________________________________________
tools-discuss mailing list
tools-discuss@opensolaris.org