[cvsnt] Re: corruption of binary files on checkout

Bo Berglund bo.berglund at telia.com
Sat Oct 22 00:19:54 BST 2005


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.


On Fri, 21 Oct 2005 16:49:10 -0600, "Corey Wirun"
<corey at wirun.homelinux.net> wrote:

>Additional information - I just tried importing a completely different
>module and some .lib, .bmp, and .ico's were corrupted.
>
>I did an octal (od) dump on the two files (a .bmp file).
>
>good file:
>0324020 ... 323 136 *015* 110 110 110 110 110 057 136 136 146

So the file you imported contains a <CR> character (octal 015)
>
>bad file:
>0324020 ... 323 136 *012* 110 110 110 110 110 057 136 136 146

And it gets converted to <LF> (octal 012)

Sounds like a line ending conversion is going on here.

So I just did an import test on a couple of exe files:
cvs -d :sspi:polaris:/Korvkiosk import -d -I ! -I CVS -W "*.exe -k
'b'" -m 

Then I checked out the module and looked at the files. I had manually
entered a number of <CR> and <LF> here and there.
No changes detected, the files are all OK.
Using 2.5.03.2127 on client and server.
WinCvs 2.0.2.4



/Bo
(Bo Berglund, developer in Sweden)



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