From: Jesper Skov (jskov@zoftcorp.dk)
Date: Thu Nov 06 2003 - 13:37:34 EST
On Wed, 2003-11-05 at 08:27, tomasfrydrych@yahoo.co.uk wrote:
> Hi Jordi,
>
> > My suggestion is to commit it with regular CR/LF, as all the other files, if
> > you are OK with this.
>
> I am most definitely not OK with this. The whole CVS tree must use the
> same eol convention, we cannot use LF in the xp branches and CR/LF
> in win32 branches, it would create a complete havoc; for pragmatic
> reasons this has been and should be LF-only. Unfortunately, time from
> time a win32 developer succeeds in checking in a file with CR/LF eols
> and I gather that is what Jeremy fixed in this case.
CVS does EOL format conversion to the host machine's default format when
you check out files, as long as the file is checked in with the -kkv
mode.
If the file is checked in as a binary, you will see no end of trouble if
editing on both Unix and Windows machines. In that case, do a 'cvs admin
-kkv <file>' to fix it up.
You can tell the file's mode with 'cvs stat'
Cheers,
Jesper
This archive was generated by hypermail 2.1.4 : Thu Nov 06 2003 - 13:35:33 EST