Hi Vivek
set the svn:eol style property an all text files to native. This will ensure that the file is checked out with consistent newlines. Then make sure that you use an editor which doesn't change the newlines while you edit the files. To fix the error, open the file in a text editor that allows you to set the eol-style (PSPad for example), edit and save the file again.
It is also a good idea to set the svn:mime type property to a correct value.

From: Vivek Payala [mailto:vivek_payala@persistent.co.in]
Sent: Tuesday, June 17, 2008 11:42 AM
To: users@tortoisesvn.tigris.org
Subject: Committing HTML files gives 'inconsistent newlines' error



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 


Please help me in identifying and fixing the problem.





Vivek Payala | Group Lead – Configuration Management (Professional & Managed Services Group) | Persistent Systems

vivek_payala@persistent.co.in  | Cell: +91 93701 31472 | Tel: +91 (20) 3023 6447

Innovation in software product design, development and delivery- www.persistentsys.com

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.