[cvsnt] RCS format question
tony.hoyle at march-hare.com
Tue Dec 16 12:22:32 GMT 2008
Fabio D'Alfonso wrote:
> I tried first yesterday to use a native cvsnt repository with bonsai and I
> got the following message:
> Unexpected parsing error in RCS file .
> Expected token: date, but saw: text
> Before starting any investigation I would know if the RCS format is
> different in native repositories, respect to the cvs 1.11 (it worked on a
> cvs 1.11 repository).
We do stick to the RCS spec except with respect to binary deltas and
extra expansion options (the latter shouldn't really affect a parser,
but may affect the rendering of the final file).
However some RCS parsers are very inflexible with regards to the exact
format, especially the parsing of new keywords, of which we use several.
As Arthur said in this case it's best to use the cvsnt rcs wrappers to
parse the file, which will always give you the correct result. Ideally
don't use tools that try to parse the RCS files directly as these are
prone to breakage.
More information about the cvsnt