[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: Tom Hilinski <tom.hilinski_at_comcast.net>
Date: 2007-09-19 04:30:29 CEST

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.

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

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
Received on Wed Sep 19 04:30:50 2007

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