SVN 行尾样式 [英] SVN Line ending Style

查看:26
本文介绍了SVN 行尾样式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试在 SVN 中提交文件时,其显示错误为提交失败".详细信息如下....commit svn:行尾样式不一致.

When i try to commit the file in SVN its showing error as "Commit failed".Details follow....commit svn: Inconsistent line ending style.

推荐答案

检查目录/文件上的 svn 属性.如果您定义了 svn:eol-style,但您的文件包含不同的样式(Unix 与 DOS),则提交将失败,因为 SVN 不知道要转换为哪种样式.

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.

参考:http://svn.haxx.se/users/archive-2006-07/0702.shtml

这篇关于SVN 行尾样式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆