[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: Lasse Vågsæther Karlsen <lasse_at_vkarlsen.no>
Date: Fri, 4 Jan 2008 16:30:28 +0100

The purpose of that flag is to make sure that tools on the platform you're
checking it out on is able to correctly process the file.

If you only want to use LF style, why is the file set to native then?

Afaik, there is no setting that will let you pick on checkout time what
system to use.

On Jan 4, 2008 4:13 PM, Alexey I. Kardashevsky <aik.rsdn_at_gmail.com> wrote:

> 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
> >
> >
>

-- 
Lasse Vågsæther Karlsen
mailto:lasse_at_vkarlsen.no
http://presentationmode.blogspot.com/
PGP KeyID: 0x01B3972E
Received on 2008-01-04 16:32:08 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.