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

Re: svn:eol-style does not work on update

From: Dirk <noisyb_at_gmx.net>
Date: Tue, 30 Mar 2010 16:29:35 +0200

Tino Schwarze wrote:
> Hi Dirk,
>
> On Tue, Mar 30, 2010 at 04:05:12PM +0200, Dirk wrote:
>
>> i've enabled
>>
>> enable-auto-props=yes
>>
>> and
>>
>> *.php=svn:eol-style:native
>>
>> on linux...
>>
>> but when i "svn update" i still have msdos linefeeds in the php file... even when i delete the php file before updating..
>
> The auto-props only work for add and import. You need to set them
> manually for files which are already there. It should be possible to set
> them after checkout:
> svn propset svn:eol-sty.e native yourfile.php
>
> Then commit. Maybe you need to delete the file and "svn update" it again
> to make SVN check out a fresh copy - I'm not sure how it behaves.
>
> HTH,
>
> Tino.
>

Thanks.

:)
Received on 2010-03-30 16:28:32 CEST

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