Nico Kadel-Garcia wrote:
On Tue, Jul 13, 2010 at 3:46 AM, Giulio Troccoli
<giulio.trocc...@uk.linedata.com> wrote:
 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.

Subversion supports the use of "pre-commit hooks", that can auto-set
such properties based on the file name. I usually personally consider
it a bad idea: changing EOL behind my back as I switch from system to
system is nasty, especially when my files are on a shared directory
that may be used on both Windows and UNIX style systems.

Errr... Shared directories are the bad idea here. Svn is perfectly capable of managing a copy for everyone and text files are not portable.

--
  Les Mikesell
   lesmikes...@gmail.com

Reply via email to