Copperhead snake at the Entrance to Bert Adams Scout ReservationI was minding my own business, coding the BACnet stack project, and decided to commit some files to subversion on SourceForge. However, tortoise-svn gave me the “inconsistent newlines” error. I googled the problem, and found a solution, but that solution didn’t fix the problem – it only masked the problem since my files were legitimate C files.

I fired up SciTE with the problem file, and selected Options – Convert Line End Characters. After saving the changes, I promptly committed the problem file to subversion without having to change thesvn:eol-style option for that file. Problem solved!