[cvsnt] RCS format question

Tony Hoyle tony.hoyle at march-hare.com
Tue Dec 16 12:22:32 GMT 2008


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.


Fabio D'Alfonso wrote:
> Hi,
> 
> 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.

Tony


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