[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: Giulio Troccoli <Giulio.Troccoli_at_uk.linedata.com>
Date: Tue, 30 Mar 2010 15:10:48 +0100

> Hello,
>
> 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..
>
> i am using only the client... no idea where or what the server is...

The auto-prop feature works only on new files when you svn add them. So if these are files that were already in the repository they probably do not have the svn:eol-style property set, or have it set to CRLF.

You will have to fix the EOL, with something like dos2unix probably, then manually change the property to native and finally commit so that next time they should have the correct EOL.

Giulio

Linedata Services (UK) Ltd
Registered Office: Bishopsgate Court, 4-12 Norton Folgate, London, E1 6DB
Registered in England and Wales No 3027851 VAT Reg No 778499447
Received on 2010-03-30 16:11:23 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.