[e-lang] Decision needed: Repository newline choice

Kevin Reid kpreid at mac.com
Tue Jan 2 11:57:40 CST 2007


On Dec 24, 2006, at 12:09, Mark S. Miller wrote:
> Kevin Reid wrote:
>> I also notice that it has CRLF line endings. I'll be adding svn:eol-
>> style native to macify-swt.e. Nearly every file in the repository
>> probably *should* have it set to native.
>
> Well, at least every text file I suppose. For the erights.org web  
> site at least, we have some binaries in the repository.
>
> I notice that on MSWindows these days, everything except Notepad  
> seems to work file with just LF newlines. I propose that we just  
> use LF newlines in all text files everywhere.

Will the tools you're describing write LFs rather than CRLFs for  
*newly entered* line endings in such files? If not, then using LF  
newlines will result in mixed files, which are quite troublesome.

I believe the repository should have svn:eol-style properties set,  
rather than the current condition of (at least some) files having  
CRLF newlines, in order to make the files usable for non-Windows  
tools. Should I tell Subversion:

   - to use and enforce LF newlines

   - to use and enforce platform newlines (they will be stored  
uniformly in the repository)

? Please let me know soon, so I can apply this change and merge in my  
macify-swt.e script.

-- 
Kevin Reid                            <http://homepage.mac.com/kpreid/>




More information about the e-lang mailing list