Euphoria Ticket #636: Newlines have UNIX line breaks on Windows

There is probably some way to set the native text property on the source files in Mercurial. Open the source files and the editor will tell you what kind of line breaks you get. On Windows this should be Windows, to simplify packaging. I think this has been this way since we converted to mercurial. I only noticed it when I opened some of the files with notepad. (I don't normally do that)

Details

Type: Bug Report Severity: Textual Category: Other
Assigned To: SPringle Status: Fixed Reported Release:
Fixed in SVN #: View VCS: none Milestone: 4.0.2

1. Comment by mattlewis Mar 15, 2011

There is an extension that is supposed to handle it:

http://mercurial.selenic.com/wiki/EolExtension

I haven't looked into this deeply.

2. Comment by SDPringle Mar 16, 2011

The .hgeol files are ready. They contain patterns of what they translate from to line feed. The docs recommend updating to null and then again to tip in order for the new lines to take effect.

3. Comment by mattlewis Mar 16, 2011

Can you post up the example file? Maybe the best thing is to play with this on the dummy repo, just to see how it works, etc.

4. Comment by SDPringle Mar 20, 2011

This is fixed in change set 56a06e0b7d14

5. Comment by SDPringle Mar 20, 2011

Please try on UNIX with a 'hg archive' or 'hg clone' and verify they the files that were MSDOS style checkout as UNIX style. A local copy should be as good as a remote one.

6. Comment by mattlewis Apr 04, 2011

This works as expected.

Search



Quick Links

User menu

Not signed in.

Misc Menu