[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
need help understanding underlying file format for cvs
From: |
Ronald Petty |
Subject: |
need help understanding underlying file format for cvs |
Date: |
08 Mar 2003 22:55:48 -0600 |
I am starting developing some repository surfing tools, I know plenty of
them are out there and most use rlog or something like that to do it.
In order to do what I want I need to know the underlying file format for
the files. I want to list history/user/date/the actual file based on
the select version etc.
I see the file,v has most of this, and I have read man rcsfile and it
gives the grammer for an rcs file. However I don't know if cvs uses
this grammer for its file,v.
So could someone tell me if this grammer is correct to develop a file
parser/viewer.
rcstext ::= admin {delta}* desc {deltatext}*
admin ::= head {num};
{ branch {num}; }
access {id}*;
symbols {sym : num}*;
locks {id : num}*; {strict ;}
{ comment {string}; }
{ expand {string}; }
{ newphrase }*
delta ::= num
date num;
author id;
state {id};
branches {num}*;
next {num};
{ newphrase }*
desc ::= desc string
deltatext ::= num
log string
{ newphrase }*
text string
num ::= {digit | .}+
digit ::= 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9
id ::= {num} idchar {idchar | num}*
sym ::= {digit}* idchar {idchar | digit}*
idchar ::= any visible graphic character except special
special ::= $ | , | . | : | ; | @
string ::= @{any character, with @ doubled}*@
newphrase ::= id word* ;
word ::= id | num | string | :
Thanks for the help.
Ron
- need help understanding underlying file format for cvs,
Ronald Petty <=
- Re: need help understanding underlying file format for cvs, Mark D. Baushke, 2003/03/09
- Re: need help understanding underlying file format for cvs, Larry Jones, 2003/03/09
- Re: need help understanding underlying file format for cvs, Ronald Petty, 2003/03/09
- Re: need help understanding underlying file format for cvs, Larry Jones, 2003/03/10
- Re: need help understanding underlying file format for cvs, Derek Robert Price, 2003/03/21
- Re: need help understanding underlying file format for cvs, Mark D. Baushke, 2003/03/21
- Re: need help understanding underlying file format for cvs, Shaun Tancheff, 2003/03/22