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

RE: Committing HTML files gives 'inconsistent newlines' error

From: Vivek Payala <vivek_payala_at_persistent.co.in>
Date: Thu, 19 Jun 2008 16:50:27 +0530

Hi Ryan,

Thanks for your suggestions. There were only 4 such files. I removed the
svn:eol-style property from them.

Thanks,

Vivek Payala | Group Lead - Configuration Management (Professional & Managed
Services Group) | Persistent Systems
vivek_payala_at_persistent.co.in | Cell: +91 93701 31472 | Tel: +91 (20) 3023
6447
Innovation in software product design, development and delivery-
www.persistentsys.com

-----Original Message-----
From: Ryan Schmidt [mailto:subversion-2008b_at_ryandesign.com]
Sent: Thursday, June 19, 2008 4:01 AM
To: Vivek Payala
Cc: 'svn'
Subject: Re: Committing HTML files gives 'inconsistent newlines' error

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

DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.

---------------------------------------------------------------------
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 13:20:22 CEST

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.