From: Lukas Gruetzmacher <[EMAIL PROTECTED]>
Subject: bug in rlog?
Date: Thu, 30 Mar 2000 00:32:35 +0900 (JST)

  | I think I've found a bug in rlog - May be is a feature... (I hope a talk
  | about a rcs tool is welcome on this list.)

This is specification of RCS file.  See man page rcsfile(5).
The following is definition of state attribute.

    state {id};
    id ::=  {num} idchar {idchar | num}*
    num ::=  {digit | .}+
    digit ::=  0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9
    idchar ::=  any visible graphic character except special

value of state is optional.
rcs -s can not make id empty.  cvs admin -s can.
cvs log will dump core.  rlog display `state: (null);'.

  | rlog can't handle rcs files with a dot in the state like:
  | date    2000.03.14.14.25.13;    author lukasg;  state 0.2.1;

`0.2.1' is invalid, but `0.2.1-state' is valid.
CVS should check validity like RCS.

     % rcs -s'1.2':1.1 FILE
     rcs: invalid identifier `1.2'
     rcs aborted
     %

--
KOIE Hidetaka <[EMAIL PROTECTED]>

Reply via email to