read configuration files in universal newline mode

Martin Geisler mg at daimi.au.dk
Tue Jan 27 16:38:15 CST 2009


Matt Mackall <mpm at selenic.com> writes:

> On Tue, 2009-01-27 at 23:15 +0100, Martin Geisler wrote:
>> Matt Mackall <mpm at selenic.com> writes:
>> 
>> > On Tue, 2009-01-27 at 21:56 +0100, Martin Geisler wrote:
>> >> # HG changeset patch
>> >> # User Martin Geisler <mg at daimi.au.dk>
>> >> # Date 1233089757 -3600
>> >> # Node ID 09e152c5c220ca53ab92276a629b0ae2130fa743
>> >> # Parent  752325f2208d4279a4fc892adddd1bfbc61b0ad1
>> >> read configuration files in universal newline mode
>> >
>> > Bleck.
>> >
>> > Surely \r is deprecated with OS X?
>> 
>> Maybe -- don't know :-) I just know that a poor Mac user on IRC could
>> not get Mercurial to read his config file...
>
> If we start down this path, things could get quite ugly. They're
> already pretty ugly with the Windows newline situation with
> cross-platform patches, etc.
>
> If this is something that hits, say, 5% of Mac users, then it's
> probably not worth fixing. We should instead tell them to join us in
> the 21st century, where MacOS is Unix.

I'll let the Mac users speak up for themselves then... My lines are
terminated by \n and I'm fine with that :-)

-- 
Martin Geisler

VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multiparty Computation) to Python. See: http://viff.dk/.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial-devel/attachments/20090127/861ba99f/attachment.pgp 


More information about the Mercurial-devel mailing list