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

[PROPOSAL] commandline switch to override native eol style

From: Guenter Knauf <fuankg_at_apache.org>
Date: Wed, 16 Feb 2011 15:59:05 +0100

Hi all,
I would like to suggest adding a commandline switch for svn to override
the native eol style. Why do I want this? On windows platform the native
eol style defaults to CRLF which is usual what we want. Now if you want
to work from MSYS bash shell and want to check out sources from a repo
with a normal win32 svn binary you may end up with autoconf shell
scripts in CRLF format - of course depending on how the files are marked
in the repo, but lets here assume that the files are marked as
'svn:eol-stype native', and that we have no control over the remote
repo; so as workaround to get working autoconf files you now either need
to convert these files with dos2unix, or you need to use 'svn export
--native-eol LF' which then requires another export again and again
every time you want to update from repo. If '--native-eol LF' would also
work with checkout then all would be fine, and you could just add a bash
alias to profile like "alias svn='svn --native-eol LF'" and you could
use standard windows binaries, and there would be no need to create
special MSYS binaries.

GŁn.
Received on 2011-02-16 15:59:56 CET

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