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

Re: Linux checkout eol not converted

From: Andy Levy <andy.levy_at_gmail.com>
Date: 2007-09-19 04:40:14 CEST

On 9/18/07, Tom Hilinski <tom.hilinski@comcast.net> wrote:
> The properties are set in the config file as such:
>
> [miscellany]
> enable-auto-props = yes
> [auto-props]
> *.c = svn:eol-style=native
>
> etc.
>
> According to the SVN Book,
> "if a user on a Windows machine checks out a working copy that contains
> a file with an |svn:eol-style| property set to |native|, that file will
> contain |CRLF| EOL markers."
>
> Therein is the issue - I haven't managed to co and get CRLF eols.

Have you actually set this property on those files? If so, have you
confirmed that the property isn't working by checking out a fresh WC
to be absolutely certain?

> You're suggesting that auto-props only work on adds and commits?

I'm not "suggesting" it - I'm *saying* it. Auto-props are a mechanism
by which you can have properties set on files automatically at the
time you add them to a WC, or import into a repository. If the file is
already in the repository, then the auto-props won't do a thing on it.
See http://svnbook.red-bean.com/en/1.4/svn.advanced.props.html#svn.advanced.props.auto

> Andy Levy wrote:
> > On 9/18/07, Tom Hilinski <tom.hilinski@comcast.net> wrote:
> >
> >> Ideas please --
> >>
> >> When checking out from a Linux subversion repository with TSVN, files
> >> that are text are not converted to CRLF format, but have LF eol.
> >>
> >> I've modified the config file on both Linux and Windows to specify
> >> svn:eol-style=native. Still are co'd with LF.
> >>
> >
> > That's right. What you modified was the automatic property setting for
> > your client, which only applies to files when you add them to the
> > repository.
> >
> >
> >> There are certain files that are only used in Windows, so I've tried
> >> svn:eol-style=CRLF for those. *Most* are co'd with LF, some with CRLF.
> >>
> >
> > Did you set that property on those files, and commit the change to the
> > repository? It may not convert the files until they are next updated
> > by an svn up, or checked out fresh.
> >
> > If you haven't yet, read
> > http://svnbook.red-bean.com/en/1.4/svn.advanced.props.file-portability.html#svn.advanced.props.special.eol-style
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
> > For additional commands, e-mail: users-help@tortoisesvn.tigris.org
> >
> >
> >
>
> --
>
>
> Tom Hilinski
> -----------------------------------------------
> e-mail Personal: Tom.Hilinski@comcast.net
> CSU: Tom.Hilinski@ColoState.edu
> -----------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
> For additional commands, e-mail: users-help@tortoisesvn.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Wed Sep 19 04:40:35 2007

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.