[cvsnt] Re: corruption of binary files on checkout

Tony Hoyle tony.hoyle at march-hare.com
Mon Oct 24 19:54:47 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.


Olaf Groeger wrote:
> I checked this against client versions 2.0.58, 2.0.51, 2.0.41 and all of
> them corrupt the data by importing the binary as text! The reverse, 2.5.
> client connects to 2.0.41 server fails completly with "The given file
> handle is invalid". From my point of view version 2.5 is now completly
> incompatible to 2.0.

It's actually working fine:

C:\t>cvs -d :sspi:chacotay:/repo ver
Client: Concurrent Versions System (CVSNT) 2.0.36 (client/server)
Server: Concurrent Versions System (CVSNT) 2.5.03 (Scorpio) Build 2127 
(client/server)

C:\t>dir
  Volume in drive C has no label.
  Volume Serial Number is 9C8B-96B7

  Directory of C:\t

24/10/2005  19:12    <DIR>          .
24/10/2005  19:12    <DIR>          ..
24/10/2005  19:12         2,986,038 test.bmp
                1 File(s)      2,986,038 bytes
                2 Dir(s)   4,051,509,248 bytes free

C:\t>cvs -d :sspi:chacotay:/repo import -W "*.bmp -k 'b'" -n bmptest
U bmptest/test.bmp

No conflicts created by this import

C:\t>cd ../t2

C:\t2>cvs -d :sspi:chacotay:/repo co bmptest
cvs server: Updating bmptest
U bmptest/test.bmp

C:\t2>dir bmptest
  Volume in drive C has no label.
  Volume Serial Number is 9C8B-96B7

  Directory of C:\t2\bmptest

24/10/2005  19:30    <DIR>          .
24/10/2005  19:30    <DIR>          ..
24/10/2005  19:26         2,986,038 test.bmp
                1 File(s)      2,986,038 bytes
                2 Dir(s)   4,048,531,456 bytes free

C:\t2>fc/b bmptest\test.bmp ..\t\test.bmp
Comparing files BMPTEST\test.bmp and ..\T\TEST.BMP
FC: no differences encountered

Note due to bugs in the cvswrappers handling of 2.0.36 you have to be 
careful about the format of the cvswrappers file (use the old cvs format 
-k 'b' not the more generic -kb), or don't have a cvswrappers at all.

OTOH I wouldn't recommend trying to run something that old anyway.. 
there are many many bug fixes since those versions were current.


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