[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn: Inconsistent line ending style

From: Ryan Schmidt <subversion-2006c_at_ryandesign.com>
Date: 2006-07-18 10:32:38 CEST

On Jul 18, 2006, at 08:11, Kip Warner wrote:

> # svn ci MyProject --file foo.txt
> svn: Commit failed (details follow):
> svn: Inconsistent line ending style
>
> I've googled around and searched the user and dev mailing list, and
> apparently this is already a noted issue. Is there any way I can
> find the offending file(s)? What does it mean to have inconsistent
> line ending styles?

It means you have set the svn:eol-style property on a file, thereby
asking Subversion to convert the file's line endings to some style,
but your file does not contain exclusively one EOL style. For
example, maybe some lines of the file are separated by Unix line
endings (LF character) while others are separated by DOS-style line
endings (CR+LF).

We had these kinds of line-ending problems with files from our
programmers who use UltraEdit on Windows, because it has ridiculous
default settings which lead to this kind of nonsense. Perhaps your
editor is similar.

Either that, or you've specified svn:eol-style on a file for which
you did not mean to do so -- for a binary file perhaps?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jul 18 10:34:06 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.