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

Re: Changing the behaviour of eol-style "native"

From: Andy Levy <andy.levy_at_gmail.com>
Date: Sat, 9 Jan 2010 13:59:23 -0500

On Sat, Jan 9, 2010 at 13:29, Stu Redman <sturedman_at_gmx.net> wrote:
> Hi,
>
> I'm working on a cross platform project where most files have the
> attribute eol-style "native". I'm using TSVN on Windows and replicate
> the files to a Linux machine.
> Now TSVN checks out "native" files as CRLF, but many files (like shell
> scripts) do not work on Linux in this mode. What I'd like to do is
> switch the "native" mode on TSVN so that "native" files get checked out
> in LF format. Is there an option in TSVN for this? If not - is it
> possible to add this as a new feature?

"Native' is exactly that - native to the OS which checked out the
working copy. Working copies are not meant to be shared between users
or operating systems.

Check out a separate WC on the Linux machine, or change your eol-style
to LF. But this is really busy work - any text editor worth using in
2010, on any platform, should handle any EOL style perfectly fine, and
programs which read text files for processing should be coded
appropriately to handle any EOL style as well; it's not like CRLF line
endings just appeared yesterday.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2435961

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-01-09 19:59:29 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.