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

Re: svn:eol-style issue

From: Nikki Locke <info_at_trumphurst.com>
Date: 2006-11-08 17:30:01 CET

Giulio Troccoli wrote:
> I know that TortoiseSVN does not work on AIX and Solaris, in fact I
> said that they use Visual Studio, which, as long as I know, runs only on
> Windows.
>
>
>
> On Solaris and AIX we just use Subversion to check out the code.
> And this is why I hope I would find a solution to my problem using
> Subversion,
> instead of, as someone suggested, using a third-party
> editor in Windows.

I use Visual Studio to edit files which also have to compile on Unix.

TortoiseSVN successfully checks out these files to my Windows box, and the
line endings all come out \r\n (crlf).

The Linux SVN client checks out the same files to the Linux box, and the
line endings all come out \n (lf only).

The only time I encountered a mixed line endings error message was when i
used Ankh (the Visual Studio SVN addin) to diff a file, and copied some of
the text from the repository side of the diff to the working copy side.

I concluded that this was a bug in Ankh (not honouring the eol-style
property).

So there is something more to your problem than plain use of TortoiseSVN
and Visual Studio.

Do you share your Windows or Solaris development areas over the network? If
you used the Solaris SVN tools to check out the files to a shared
development area (thus making the line endings \n) and then used Visual
Studio to edit them in that shared area, you would have a problem.

-- 
Nikki Locke, Trumphurst Ltd.      PC & Unix consultancy & programming
http://www.trumphurst.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Nov 8 17:31:23 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.