[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: Tino Schwarze <subversion.lists_at_tisc.de>
Date: Tue, 30 Mar 2010 16:15:11 +0200

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.

-- 
"What we nourish flourishes." - "Was wir nähren erblüht."
www.lichtkreis-chemnitz.de
www.tisc.de
Received on 2010-03-30 16:15:40 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.