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: Larry Hastings
Subject: Re: [Monotone-devel] Re: line endings with 0.31
Date: Mon, 20 Nov 2006 22:53:45 -0800
User-agent: Thunderbird 1.5.0.5 (Windows/20060719)

Nathaniel Smith wrote:
I also wonder whether output mangling things should be default-on or
default-off.  There is a part of me that feels like line-ending
conversion should be _enabled_ by an attr, rather than _disabled_?
  
FWIW, I'm a Windows programmer, so I actually use eol convention, so if I might chime in with my opinion...

I agree with Nathaniel: eol conversion should be disabled by default, and should be enabled with a setting.  Principle-of-least-surprise there.  Optimally, there should be a way for the system to guess at the "convert eols" flag when you run "mtn add", like f'rinstance a Lua hook that examines the filenames of added files and can set the attribute, with a default implementation that compares the filename to a regular _expression_ (or even just a list of extensions) stored as a database variable.


larry

reply via email to

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