"Inconsistent line ending style" nightmare

Epoc picture Epoc · May 24, 2013 · Viewed 24.6k times · Source

I'm completely stuck with an SVN error when committing 2447 files at once. I'm using TortoiseSVN (latest version) on Windows 7 64bits.

The fact is that some files were created on Mac, and others on PC, so TortoiseSVN stopped the commit with an annoying Inconsistent line ending style error.

In the beginning, to solve this problem, I manually opened the incriminated file in , added one blank space, removed it and saved the file so Netbeans converted properly all line ending chars, but it seems there's more than "some files" incriminated.

Of course I searched the web for a solution but I haven't found any suitable for Windows environment.

I'm currently banging my head against the walls.

Answer

Tuan picture Tuan · Jun 2, 2013

Under Windows 7, you can use Notepad++ v5.6.8 to convert EOL

Edit --> EOL Conversion --> Windows / Unix / Mac