[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Massive cvs migration

From: Larry Jones
Subject: Re: Massive cvs migration
Date: Tue, 30 Sep 2008 11:28:58 -0400

Wurdock, Tom writes:
> If a text file is added as binary, there is no negative consequence as
> far as the file being mangled, correct?  We would just have extra data,
> no?

That depends on your definition of "mangled" and "extra data".  :-)

Since you're on Windows, adding a text file as binary will include the
<CR> at the end of each line as part of the contents of the line rather
than treating it as part of the line separator like it should.  Changing
the file to non-binary with cvs admin does not fix that.  Thus, when you
check the file out, you'll have an "extra" <CR> at the end of each line
(i.e., each line will end with <CR><CR><LF> instead of just <CR><LF>). 
That can be innocuous or a serious problem depending on what you want to
do with the file -- some things don't mind, other things get terribly
Larry Jones

Don't you hate it when your boogers freeze? -- Calvin

reply via email to

[Prev in Thread] Current Thread [Next in Thread]