You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Jan Mönnich <Ja...@newtron.net> on 2004/09/13 13:39:55 UTC

Problem on commits with "inconsistent line style", please provide a better error message

Hello,

I just tried an commit and get the following error message:

d:dev> svn ci -m Bugs java\framework\web\bytecode
Sending        java\framework\web\bytecode\ClassByteCodeInfo.java
Sending        java\framework\web\bytecode\CompileByteCodeInfo.java
Sending        java\framework\web\bytecode\ExampleCompiledClass.java
Sending        java\framework\web\bytecode\ExampleCompiledClassCreator.java
Sending        java\framework\web\bytecode\WebCompiledClass.java
Sending        java\framework\web\bytecode\WebCompiledElement.java
Transmitting file data ......svn: Commit failed (details follow):

d:dev> svn ci -m Bugs java\framework\web\bytecode\ExampleCompiledClassCreator.java
Sending        java\framework\web\bytecode\ExampleCompiledClassCreator.java
Transmitting file data .svn: Commit failed (details follow):

There are no details following.

After testing a little bit around, I found the following error message:

d:test> svn add ExampleCompiledClassCreator.java
svn: File 'ExampleCompiledClassCreator.java' has inconsistent newlines
svn: Inconsistent line ending style

It seems to refuse commits with broken lineends. 

Two wishes:
- Please provide a good error message (with filename).
- Maybe an option/switch to autoconvert the lineendings.

jan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org


Re: Problem on commits with "inconsistent line style", please provide a better error message

Posted by Ben Collins-Sussman <su...@collab.net>.
On Mon, 2004-09-13 at 08:39, Jan Mönnich wrote:

> Two wishes:
> - Please provide a good error message (with filename).

Already fixed in 1.1.

> - Maybe an option/switch to autoconvert the lineendings.

That would potentially lose data, which is why svn refuses to do it.  I
suppose we could create a new switch, though.



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org