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

svn:eol-style issue

From: Giulio Troccoli <Giulio.Troccoli_at_uk.linedata.com>
Date: 2006-10-30 15:06:38 CET

Hi everybody,

 

I have an issue with the EOL and consequently with the svn:eol-style
property. I have found another post about it but it didn't say how to
solve the issue, and also it was a bit old so maybe now we do have a
solution.

 

The problem is across-platform problem. We have Subversion 1.3 installed
on a Linux box, but the product is maintained on AIX, Solaris and
Windows. All developers use Visual Studio to do their job and
TortoiseSVN to commit the changes.

 

On AIX and Windows everything is fine, but on Solaris sometimes the
build failed because the compiler does not like the EOL of some files.
These happens (and strangely not always) when the files have been edited
using Visual Studio.

 

I read the Subversion documentation and I found the svn:eol-style
property. I have set it to native on ALL source files, and that's when I
started having the issue.

 

Now, when I tried to commit some changes from Windows, the commit failed
with

 

Error Commit failed (details follow):

Error File '*****' has inconsistent newlines

Error Inconsistent line ending style

 

In this cases I have to delete the svn:eol-style property on those files
and commit again. This, however, means that I cannot be sure that the
build on the Solaris platform will succeed because I cannot be sure that
the EOL on those files will be correct for that platform.

 

What can I do?

 

Thanks

Giulio

 

 

-------------------

Giulio Troccoli

Technical Consultant

 

Linedata Services (UK) Ltd. Bishopsgate Court, 4-12 Norton Folgate,
London E1 6DB

T +44 (0)20 7360 1914 F +44 (0)20 7360 1974

E giulio.troccoli@uk.linedata.com
<mailto:giulio.troccoli@uk.linedata.com> W www.linedata.com
<http://www.linedata.com>

MSN Messenger giulio@troccoli.it <mailto:giulio@troccoli.it>

 
Received on Mon Oct 30 15:07:45 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.