R: R: [cvsnt] binary file question

Alberto Barbati abarbati at ubisoft.it
Fri Feb 21 10:03:04 GMT 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.


> > 3) If I use "cvs -p -r x.x update" I get a garbled file. 
> It's not just a
> > CRLF translation problem: I inspected the file with a hex 
> editor and it
> > clearly contains text strings that shouldn't be there. Weird!
> > 
> '-p' is 'checkout to console'  It makes no sense to try to do 
> this to a binary file.

I know that, but you can redirect the console to a file.

Anyway, I checked Bo comment about this and indeed it looks like a WinCvs
bug. In fact, if I issue "cvs update -p" from within the WinCvs graph
window, I get the garbled file, but if I issue the same command from the
command line I get a the correct file with just a CRLF appended at the end.
I guess the trailing CRLF it's not avoidable, is it?

Alberto Barbati

PS to Mitch Davis: when I wrote "cvs -p update" I meant "cvs update -p".
Sorry for the confusion.


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