svn commit: Inconsistent line ending style

svn commit: Inconsistent line ending style

My project requires me to export excel file as tab-delimited txt file and used as the source for java, when I try to commit it to the svn, the error always occur:

SVN: "Inconsistent line ending style"

This error annoys me and for one whole morning , I could not know what makes it happen, and finally find that It's the text file problem,The file has two different line ending styles which I check by the tool  notepad++ ,by using this tool to convert to dos/unix format, then I set the property of the file svn:eol-style : native 
http://svnbook.red-bean.com/en/1.5/svn.advanced.props.file-portability.html

and then I am able to commit the file.But if lots of files are the same like this, what can I do?

你可能感兴趣的:(svn commit: Inconsistent line ending style)