Subversion Inconsistent Newlines

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!

About skarg

I write software for a living. So, I dedicated some web space for some stuff that I have worked on. I mostly write embedded C for PC based controllers, but I have dabbled in a few other areas as well.
This entry was posted in applications, BACnet. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *