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

Re: specifying carriage return on update

From: Simon Large <simon.tortoisesvn_at_googlemail.com>
Date: Sun, 13 Apr 2008 22:32:05 +0100

On 13/04/2008, optigon <rjones017_at_gmail.com> wrote:
>
> Hi,
> The development project I work on uses unix carriage returns at the end of
> each line of code.<\n>
> I am using the Tortoise for windows, and when I update my local repo, the
> carriage returns all change to the windows ones <\r>.
>
> Is there a way to specify carriage returns on an update or checkout?

You need to set the svn:eol-style on the affected files.
'native' means that a Unix machine will get \n and a Windows machine
will get \r\n
'LF', 'CR' and 'CRLF' mean exactly what you think they mean.
If the property is not set at all, Subversion does not try to adjust
the line endings at all.

Simon

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-04-13 23:32:12 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.