I dont think you understood the request.  The keyword replacement was desired,
but in such a
way as to not expand the field.  ie:

$Author: williams $ can become $Author: rexj    $ but
$Author: rexj $ would become $Author: will $

Rex.





[EMAIL PROTECTED] (Paul Sander) on 02/15/2000 04:34:47 AM

To:   [EMAIL PROTECTED], [EMAIL PROTECTED]
cc:    (bcc: Rex Jolliff/YM/RWDOE)

Subject:  Re: Enhancement suggestion




>--- Forwarded mail from [EMAIL PROTECTED]

>Oracle Developper uses propriettary pseudo-binary file format, which
>is fault prone -- if CVS changes length of keyword value
>(e. g. $Author: xy $ to $Author: xyz $), Oracle Developper fails to
>open the file.

>It is possible to eliminate this disadvantage of CVS - simply change
>the behaviour of expand_keywords function in rcs.c.

>But I imagine a new kflag (not compatible to RCS but useful for files
>that cannot be changed in length by CVS), e. g. -kvp (to express our
>goal to refuse migration from CVS to PVCS ;-)
>Checking in and out of file with -kvp flag would:

>* NOT expand $Keyword$
>* expanding $Keyword: Value $ count length of the old Value and
>cut the new one (if longer than) to the length or right pad it
>with spaces (if shorter than).

Have you looked into the existing -kk and -ko keyword expansions?  If
they're not in the CVS documentation then you'll find it in the RCS man
pages, specifically in co(1).

>--- End of forwarded message from [EMAIL PROTECTED]




Reply via email to