Alternatives to EOL extension
BOGGESS Rod CORE
Rod.Boggess at tenova.com
Thu Jan 15 18:53:35 UTC 2015
Tenova: advanced technologies for the metals and mining industries
Visit our website at www.tenova.com
------------------------------------------------------------------
Confidentiality Notice : This message, together with its attachments, contains strictly confidential information and is intended only for the addressee identified above,who is the sole party authorized to use
and copy it and, assuming any related liability , to forward it to others. Anyone receiving this message by mistake or reading it without authorization is hereby notified that storage, reproduction, disclosure or distribution of the message to persons other than the addressee is strictly forbidden. They are asked to return the message immediately to the sender and to erase the original message received.
Thank you.
-----Original Message-----
From: Mercurial [mailto:mercurial-bounces at selenic.com] On Behalf Of Mads Kiilerich
Sent: Thursday, January 15, 2015 1:19 PM
To: Carsten Fuchs; Ernie Rael; mercurial at selenic.com
Subject: Re: Alternatives to EOL extension
On 01/15/2015 06:59 PM, Carsten Fuchs wrote:
> Hi Ernie,
>
> Am 15.01.2015 um 17:13 schrieb Ernie Rael:
>> So you can see why the relatively new eol extension (replacing the
>> old win32text extension) is provided. Seems more reliable than most
>> ad hoc solutions.
>
> Uhhh, it's quite the opposite, isn't it?
>
> The wiki page for the EOL extension clearly labels it as a feature of
> last resort, which are essentially described as: "Don't use, the right
> way is something else.", whereas my custom EOL checker script is
> simple, works reliably is not "of last resort". ;-)
Yes, "the right way" is that everybody works on Linux ... or at least use platforms and tools that at least agree on the basics. If your world is different, you need something.
I don't read the wiki pages as "don't use". It is clearly "use if you need it".
/Mads
_______________________________________________
Mercurial mailing list
Mercurial at selenic.com
http://selenic.com/mailman/listinfo/mercurial
Yeah, I don't think the "last resort" is appropriate language. I haven't been paying a great deal of attention to this thread, are you working on Windows and non-Windows machines for software development? (Not hosting, just development.)
Honestly, even when I work with source that has VMS/linux line endings and load it into my Visual Studio editor, it only asks me if I want to change line endings. I can tell it know and ignore in the future.
My first choice would be to ignore this non-sense and just use the tool and see what happens. You'll know pretty quick if every line of code keeps getting changed back and forth due to line endings. If it's not a problem, just ignore it. Mercurial certainly doesn't care.
More information about the Mercurial
mailing list