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

RE: fixing files committed with wrong eol-style

From: Giulio Troccoli <Giulio.Troccoli_at_uk.linedata.com>
Date: Tue, 13 Jul 2010 08:46:05 +0100

> Hello,
> Without the "svn:eol-style" property any file content is
> considered as binary.
> At that point, checkouted files on Windows and Linux have "CR-LF" eol.

ASAIK this is not true. Subversion has a clever way to tell whether a file is text or binary by looking at the file itself. I believe that you can "trick" Subversion by setting svn:mime-type, although I'm not sure why someone would want to treat a binay file as text or vice-versa.


Linedata Limited
Registered Office: 85 Gracechurch St., London, EC3V 0AA
Registered in England and Wales No 3475006 VAT Reg No 710 3140 03
Received on 2010-07-13 09:46:48 CEST

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