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

Re: Line endings

From: Simon Large <simon.tortoisesvn_at_gmail.com>
Date: Fri, 20 May 2011 13:22:42 +0100

On 20 May 2011 12:10, Nicolas Goutte <nicolas.goutte_at_extragroup.de> wrote:
>
> Am 20.05.2011 um 13:00 schrieb John Emmas:
>
> > A few weeks ago I used TortoiseSVN to check out a project that was
> > originally written for Linux.  The source models (all 'C' and C++)
> > had *nix style line endings.  Unfortunately, TortoiseSVN converted
> > them all to Windows style (0x0D, 0x0A).  Is here any way I can
> > configure Tortoise not to do this?  I know from past experience that
> > it tends to result in problems.
>
> The property svn:eol-style is probably set to CRLF for these files.
> You can set them to "native" for example.

It may be that they already are set to native, so if you checkout on a
Windows machine it will indeed convert to CR-LF on you local machine.
But those line endings won't get committed back to the repository. If
you don't want the conversions, either remove the eol-style property
before checkout (on the linux box) or set svn:eol-style to LF.

Simon

--
:       ___
:  oo  // \\      "De Chelonian Mobile"
: (_,\/ \_/ \     TortoiseSVN
:   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
:   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2742280
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-05-20 14:22:48 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.