When i try to commit the file in SVN its showing error as "Commit failed".Details follow....commit svn: Inconsistent line ending style.
+1
A:
Check your svn properties on the directory / files. If you have svn:eol-style defined, but your file contains different styles (Unix vs DOS) the commit will fail, since SVN doesn't know which to convert to.
Reference: http://svn.haxx.se/users/archive-2006-07/0702.shtml
drowe
2009-05-13 13:41:07
A:
Once you're aware of the line ending style svn expects, most modern editors will have options to convert your source completely to one style or another. You can also run regular expressions to detect and alter them (I like Perl for this).
MSDOS EOL: "\r\n"
UNIX EOL: "\n"
DOS (and Windows) use "\r\n". Additionally, Mac OS Classic (9 and below) use "\r".
Samir Talwar
2009-05-13 14:15:29