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

Ignore / override svn:eol-style=native while checkout / update

From: Cyrus Summers <xzs217_at_gmail.com>
Date: Sun, 5 Jul 2009 11:42:19 +0800


I recently encountered an issue with svn:eol-style set to native.
While checking out / updating, svn changes all the files with property
svn:eol-style=native the line endings to CRLF since I'm using Windows,
the problem is that I also use Cygwin tools to build projects, and the
shell script interpreter sh only recognize LF as the line ending as in
*nix systems, the extra CRs are treated as error. So my current
solution is to change all the files the line endings back to its
original using dos2unix...

It seems setting svn:eol-style=native is becoming more and more
popular, I've check 3 projects (including svn itself), all of them has
such property set. While it may be useful in most of the cases, it
does create some inconveniency.

So my question is that, could option be added to override the property
and leave the line ending as is? e.g. similar as the '--native-eol
ARG' option in 'export' or even powerful.



To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-07-05 12:21:59 CEST

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