monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] Re: line endings with 0.31


From: Richard Levitte - VMS Whacker
Subject: Re: [Monotone-devel] Re: line endings with 0.31
Date: Tue, 21 Nov 2006 13:01:19 +0100 (CET)

In message <address@hidden> on Tue, 21 Nov 2006 03:29:12 -0800, Larry Hastings 
<address@hidden> said:

larry> While we're on the topic, here's a real-world problem I learned about 
larry> recently.  I fixed the MSVS 6 build process for Python 2.5 and 2.6, and 
larry> in so doing I found the project files were marked "binary" in SVN.  This 
larry> inconvenienced me, because SVN's diff won't generate patches for 
larry> "binary" files.  I said "why's that?", they said "because MSVS 6 is 
larry> really touchy about the CR/LF EOL convention in its project files."  I 
larry> said "as long as it's consistent it won't hurt anything".  They said 
larry> "sure, but if we do svn checkout on UNIX, then copy the files to 
larry> Windows, the project files would get written out with just LFs, which 
larry> breaks MSVS reading 'em".  This did happen to them in practice, but I 
larry> forget where; maybe it was with buildbots?  Maybe they build the 
larry> official source distributions on UNIX machines?

Another real world problem is C compilers on Unix that are picky about
EOL as well and barf all over the place when they get acquainted with
CRLF.  Or shells (such as /bin/ksh on Solaris 9) that get sick as soon
as they see a CR in the wrong place in the script.  Or...

Cheers,
Richard

-----
Please consider sponsoring my work on free software.
See http://www.free.lp.se/sponsoring.html for details.

-- 
Richard Levitte                         address@hidden
                                        http://richard.levitte.org/

"When I became a man I put away childish things, including
 the fear of childishness and the desire to be very grown up."
                                                -- C.S. Lewis




reply via email to

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