用SmartSVN提交代码的时候提示:svn: File has inconsistent newlines

这是由于要提交的文件编码时混合了windows和unix符号导致的。

解决方法:

Project–>Setting,选择Working copy下的EOL-style,将Default EOL-style设置为 As is(no conversion),并点击ok按钮,即可!

 

posted on 2017-12-06 16:53  梓木的稻稻  阅读(241)  评论(0编辑  收藏  举报