read configuration files in universal newline mode

Douglas Philips dgou at mac.com
Tue Jan 27 19:45:51 CST 2009


On or about 2009 Jan 27, at 7:46 PM, Benjamin Pollack indited:
> For the record, as a Mac user for about twenty years now, I do *not*
> want \r honored.  Its existence in any files on my system at this  
> point
> is a bug.  Because no OS X editor defaults to \r, we are only
> inconveniencing those who have deliberately set their editors to use
> Classic-style line endings, in which case, pardon me, but they kind of
> deserve what they get.

Well, that is sure vindictive. Either they don't know they have that  
setting, in which case, "meh",
or perhaps they have that set in order to work with some older tools,  
in which case why should Mercurial deliberately get in their way?

Frankly I don't see why Mercurial has to be a piss-ass about this,  
Python itself deliberately permits handling \r endings with aplomb.

--Doug



More information about the Mercurial-devel mailing list