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

RE: Carriage returns & line feeds

From: Lübbe Onken <l.onken_at_rac.de>
Date: 2007-03-16 08:39:07 CET

Hi John,

You wrote:
> This is my first post, so I hope it gets through....

It did :)

> I joined the project whose primary platform is Linux. It's
> source code
> files seem to mark line ends (in text files) using just a
> newline character
> (0x0A). However, when checked out using TortoiseSVN, all the newlines
> had been converted to carriage return / newline pairs (0x0D, 0x0A).
> This is screwing up the Linux build.
>
> Is there an option anywhere that can be used to turn this behaviour
> on & off?

The 'svn:eol-style' property is you friend. You preferred value would be
'native', which makes the client check out with the correct eol style. A
linux client will use LF and a windows client CRLF. If you however use a
windows client to check out into a linux build folder, you will still be
screwed.

Read the docs on how to set properties on files.

Cheers
- Lübbe

--
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Fri Mar 16 08:39:25 2007

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.