Newline problems with Subversion

I was receiving an error like this when trying to commit a file into subversion.

svn: File '/foo/bar.gif' has inconsistent newlines

After searching, I found this nice page explaining how to fix the problem.

Newline problems with Subversion

Essentially you need to do this before you do the commit.

svn propdel svn:eol-style bar.gif

Leave a Reply

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