[cvsnt] Re: cvswrappers
Tony Hoyle
tony.hoyle at march-hare.com
Fri Jul 8 08:49:20 BST 2005
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