[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: optigon <rjones017_at_gmail.com>
Date: Sun, 13 Apr 2008 15:54:57 -0700 (PDT)

Thank you :)

optigon

Simon Large-5 wrote:
>
> 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
>
>
>

-- 
View this message in context: http://www.nabble.com/specifying-carriage-return-on-update-tp16668289p16669184.html
Sent from the tortoisesvn - users mailing list archive at Nabble.com.
---------------------------------------------------------------------
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-14 00:55:05 CEST

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