[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: RCS 5.9.4: problem "badly terminated keyword value" for "ci -k"
From: |
Thien-Thi Nguyen |
Subject: |
Re: RCS 5.9.4: problem "badly terminated keyword value" for "ci -k" |
Date: |
Mon, 05 Oct 2020 14:33:12 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
() "Ulrich Windl" <Ulrich.Windl@rz.uni-regensburg.de>
() Sat, 09 Feb 2019 18:38:04 +0100
I have an unsolvable problem with RCS 5.9.4, that probably
could need:
* either an option to ignore this error
* an improved parser for keywords.
In any case a better diagnostic message (which keyword, BTW?)
would be helpful. So here is what I have: I had copied a
file from another computer that is checked out by RCS. The
local computer didn't have the latest version, so I wanted to
check it in:
ci -d -k -u -M ./pwg.pl
./RCS/pwg.pl,v <-- ./pwg.pl
ci: ./pwg.pl: badly terminated keyword value
So you have no idea what "keyword" actually causes the
problem. However ident can provide some clues:
pwg.pl:
$Id: pwg.pl,v 5.2 2019/01/31 11:47:13 windl Exp $
$selector: unknown domain specifier $
$selector: unknown random selector $
$op: ", $
Here also ident could use an option that displays line
numbers for the "keywords" also ;-)
Hmmm. Patches welcome...
The source lines causing the problems actually are:
warn "$selector: unknown domain specifier $1\n";
warn "$selector: unknown random selector $selector\n";
print "Entropy before $op: ", $e->as_string(), "\n"
Is there any chance to check-in the source unmodified? (I
could replace all "$foo" with "${foo}")
Unfortunately, i can't think of any way, aside from modifying
the source. Adding the curly braces would do the trick.
--
Thien-Thi Nguyen
signature.asc
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: RCS 5.9.4: problem "badly terminated keyword value" for "ci -k",
Thien-Thi Nguyen <=