Antwort: Re: [cvsnt] : cvsgraph problems with cvsnt-style RCS file format

Markus.Gebhardt at etas.de Markus.Gebhardt at etas.de
Thu Jun 26 05:41:33 BST 2003


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


Hi there,

after spending some more thoughts on the problem, I would rather suggest 
to
change the ID definition in the line
<xID>{num}? {idchar} ({idchar} | {num})*
into
<xID>{num}? ({idchar}|{digit}) ({idchar} | {num})* (that should change the 
definition to require at least one idchar OR one digit (or, use num 
instead of digit, if you like to allow dots, too)
than to change the idchar definition; who knows where adding the digits to 
idchar might have side effects...

Mit freundlichen Grüßen / with regards

Markus Gebhardt


ETAS/ESC-ES
Borsigstrasse 14
D-70469 Stuttgart
Tel. +49 (0)711 89661 278
markus.gebhardt at etas.de





Markus.Gebhardt at etas.de
Gesendet von: cvsnt-bounces at cvsnt.org
25.06.2003 13:02

 
        An:     Arvind Raman <arvind_raman at yahoo.com>
        Kopie:  CVSNT <cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook>
        Thema:  Antwort: Re: [cvsnt] : cvsgraph problems with cvsnt-style RCS file format


Hi,

from

id is defined as ::= {num} idchar {idchar | num}*
with
idchar ::=any visible graphic character except special (special is $ | , |
, | : | ; | @)
and
num ::= {digit | .}+


I would expect expect an author name 123 as RCS compliant, since idchar
contains digits and num would be a digit (with or without dots), too...
Let me see...the cvsgraph flex rule for the id is {num}?{idchar}
({idchar}|{num})*  which means "an optional num, required idchar, one or
mor optional nums or idchars", where idchar excludes digits
idchar  [!-#%-+\-/<-?A-~\240-\377] (in ASCII the digits are between / and
<)
(from what I understand of the flex syntax). So CVSgraph would expect ad
least one non-digit character.

Check the RCS files in the repository. If cvsnt escapes the author names,
then the patch should work with your names too (since strings can contain
any characters). If not (since 123 is RCS compliant, I'd suggest
to add the digits in the idchar definition, i.e.
idchar   [!-#%-+\-/0-9<-?A-~\240-\377] wich in my understanding would even
go along with the RCS file definition (and hopefully works ;-)).

Hope this helps!

Mit freundlichen Grüßen / with regards

Markus Gebhardt


ETAS/ESC-ES
Borsigstrasse 14
D-70469 Stuttgart
Tel. +49 (0)711 89661 278
markus.gebhardt at etas.de





Arvind Raman <arvind_raman at yahoo.com>
Gesendet von: cvsnt-bounces at cvsnt.org
24.06.2003 18:01


An:     Markus.Gebhardt at etas.de, CVSNT <cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook>
Kopie:
Thema:  Re: [cvsnt] : cvsgraph problems with cvsnt-style RCS file format


Hi there,
Nice of you to share this information. Well I have a
similar problem, but I guess not addresses by the
mail you sent.
My organization has author names that are numbers as
in 123, which again violates the syntax of the
RCS file, though the CVS as such parses these files
correctly.
Could you suggest a patch that could fix this problem.

regards
Arvind

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
_______________________________________________
cvsnt mailing list
cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs



_______________________________________________
cvsnt mailing list
cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs





More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook