On Jun 17, 2008, at 8:41 AM, Vivek Payala wrote:
> While committing the locally updated javadocs to the SVN repository
> using TortoiseSVN, I am facing the following error,
>
> Error: Commit failed (details follow):
> Error: File 'F:\svn_roots\clientapi\doc\apidoc\index-all.html' has
> inconsistent newlines
> Error: Inconsistent line ending style
>
> We use Eclipse as the editor. And the files on which the error is
> coming are HTML files. As they are java docs it gets updated after
> every build, and we then need to check it in SVN. If I remove the
> svn:eol style property which is currently set to ‘native’ on these
> HTML files, the commit goes through. Is removing this property a
> solution to it?
If you want Subversion to change the line endings (which you've
requested by setting svn:eol-style) then the file must already have
consistent line endings (all LF, or all CRLF, or all CR) but your
file has a mix of line ending styles. You need to either make the
line endings in the file consistent, or remove the svn:eol-style
property.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-06-19 00:31:50 CEST