Login | Register
My pages Projects Community openCollabNet

Discussions > users > Re: Line endings

Project highlights: :. Download .: :. Support .: :. FAQ .: :. Translations .: :. Donate .: :. Report Bug .:

tortoisesvn
Discussion topic

Back to topic list

Re: Line endings

Author simonlarge
Full name Simon Large
Date 2011-05-20 05:22:45 PDT
Message On 20 May 2011 12:10, Nicolas Goutte <nicolas.goutte@e​xtragroup.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

« Previous message in topic | 3 of 20 | Next message in topic »

Messages

Show all messages in topic

Line endings John Emmas <johne53 at tiscali dot co dot uk> John Emmas <johne53 at tiscali dot co dot uk> 2011-05-20 04:00:44 PDT
     Re: Line endings Nicolas Goutte <nicolas dot goutte at extragroup dot de> Nicolas Goutte <nicolas dot goutte at extragroup dot de> 2011-05-20 04:10:54 PDT
         Re: Line endings simonlarge Simon Large 2011-05-20 05:22:45 PDT
             Re: Line endings John Emmas <johne53 at tiscali dot co dot uk> John Emmas <johne53 at tiscali dot co dot uk> 2011-05-20 06:15:43 PDT
                 Re: Line endings fsaphir Felix Saphir 2011-05-20 06:17:58 PDT
                     Re: Line endings John Emmas <johne53 at tiscali dot co dot uk> John Emmas <johne53 at tiscali dot co dot uk> 2011-05-20 07:19:43 PDT
                         Re: Line endings levyam Andy Levy 2011-05-20 07:54:36 PDT
                         Re: Line endings fsaphir Felix Saphir 2011-05-20 07:56:07 PDT
                         Re: Line endings John Emmas <johne53 at tiscali dot co dot uk> John Emmas <johne53 at tiscali dot co dot uk> 2011-05-20 23:32:13 PDT
                             Re: Line endings simonlarge Simon Large 2011-05-21 01:09:45 PDT
                                 Re: Line endings John Emmas <johne53 at tiscali dot co dot uk> John Emmas <johne53 at tiscali dot co dot uk> 2011-05-21 04:27:11 PDT
                                     Re: Line endings levyam Andy Levy 2011-05-21 05:05:46 PDT
                                         Re: Line endings jeanmarc Jean-Marc van Leerdam 2011-05-21 14:24:19 PDT
                                             Re: Line endings levyam Andy Levy 2011-05-21 17:02:53 PDT
                                         Re: Line endings John Emmas <johne53 at tiscali dot co dot uk> John Emmas <johne53 at tiscali dot co dot uk> 2011-06-26 22:29:41 PDT
                                             Re: Line endings simonlarge Simon Large 2011-06-27 01:13:55 PDT
                                                 Re: Line endings John Emmas <johne53 at tiscali dot co dot uk> John Emmas <johne53 at tiscali dot co dot uk> 2011-06-27 01:31:31 PDT
                                                     Re: Line endings Dale McCoy <dalestan at gmail dot com> Dale McCoy <dalestan at gmail dot com> 2011-06-27 07:02:59 PDT
                                                     RE: Line endings pilotbob Bob Archer 2011-06-28 06:56:15 PDT
     Re: Line endings jeanmarc Jean-Marc van Leerdam 2011-05-22 01:36:28 PDT
Messages per page: