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

Re: how to checkout on Windows with Unix-style EOL (LF)?

From: Alexey I. Kardashevsky <aik.rsdn_at_gmail.com>
Date: Fri, 4 Jan 2008 18:13:04 +0300

eol-style is set to "native" in the repository. This "native" is treated as
"CRLF" on Windows.
Why cannot I checkout with LF on Windows? This is fascism :-)

On Jan 4, 2008 5:04 PM, Andy Levy <andy.levy_at_gmail.com> wrote:

> On Jan 4, 2008 9:02 AM, Alexey I. Kardashevsky <aik.rsdn_at_gmail.com> wrote:
> > So does it mean that there is absolutely no way to checkout fresh copy
> files
> > with LF right away? With TortoiseSVN, of course.
>
> If svn:eol-style is set to native or CRLF on the version in the
> repository, that's what you'll get when you check out on Windows. If
> it's set to LF in the repository, you'll get LF when you check out on
> Windows.
>
> > On Jan 4, 2008 4:41 PM, Andy Levy < andy.levy_at_gmail.com> wrote:
> > >
> > >
> > >
> > >
> > >
> > >
> > > On Jan 4, 2008 8:35 AM, Alexey I. Kardashevsky < aik.rsdn_at_gmail.com>
> > wrote:
> > > > The tool is too smart and replaces EOLs with the Windows ones
> (CR+LF).
> > > > However I need LF EOLs.
> > > > I've changed the config files as follows:
> > > >
> > > > [auto-props]
> > > > * = svn:eol-style=LF
> > > > *.* = svn:eol-style=LF
> > > >
> > > >
> > > > But this did not help. I've changed the "svn:eol-style" property
> from
> > > > Windows explorer "properties" window, did not help too.
> > > > What have I done wrong? Many thanks and happy NY!
> > >
> > > auto-props only controls properties that get automatically applied
> > > when adding a new item to the repository. To make existing files check
> > > out with the desired line ending, you must modify the svn:eolstyle
> > > property for each of those files.
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
> > > For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
> > >
> > >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
> For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
>
>
Received on 2008-01-04 16:18:53 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.