SmartSVN提示 svn: File has inconsi

作者: XLsn0w | 来源:发表于2017-04-11 16:22 被阅读10次

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

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

    解决方法是将其统一编码或者修改SmartSVN提交前的检查设置。

    统一编码在这里就不介绍了,SmartSVN设置做如下修改可以解决问题:

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

    相关文章

      网友评论

        本文标题:SmartSVN提示 svn: File has inconsi

        本文链接:https://www.haomeiwen.com/subject/wtruattx.html