[cvsnt] Re: cvswrappers

Tony Hoyle tony.hoyle at march-hare.com
Fri Jul 8 08:49:20 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.


David Somers wrote:
> (Tony: if a file is imported or added then committed with the wrong 
> text/binary/unicode wrapper setting, is it always possible to repair the 
> mistake through cvs admin, or are there some circumstances under which its in 
> such a state that its effectively corrupted beyond recovery?)

Binary files in particular can get truncated with the wrong options 
(especially on Win32.. Unix doesn't really make the distinction).

A 16bit Unicode file would behave poorly if treated as an ordinary text 
file, as every alternate byte is null.  CR/LF expansion would completely 
destroy them (turning "'A' NULL CR NULL 'B' NULL" into "'A' NULL CR LF 
NULL 'B' NULL" which is a completely different string).

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