Search code examples
svnwindows-7tortoisesvneol

"Inconsistent line ending style" nightmare


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

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 NetBeans, added one blank space, removed it and saved the file so NetBeans converted properly all line ending characters, but it seems there are more than "some files" incriminated.


Solution

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

    Menu EditEOL ConversionWindows / Unix / Mac