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

Re: why does SVN get confused about my EOL character?

From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: 2007-05-03 23:19:02 CEST

On May 3, 2007, at 16:10, Richard wrote:

>>>> You sound like you want svn:eol-style set to native. [...]
>>>
>>> What's the easiest way to set this recursively on all text files
>>> in a
>>> checked out hierarchy?
>>
>> You might want to set up automatic properties (auto-props). There's a
>> script you can use to apply your auto-props definitions to already-
>> existing files. See this message for more info:
>>
>> http://svn.haxx.se/users/archive-2006-01/0485.shtml
>
> Well my existing files were converted from a CVS repository, so most
> of them already had svn:eol-style set properly. It was new files that
> I've added since the conversion that don't have svn:eol-style set
> properly.
>
> Is there some sort of configuration interface within TortoiseSVN or
> within SVN itself that I can use to say "whenever I add a file, set
> svn:eol-style to native"?

That is in the Subversion config file. You configure it to add
properties to files automatically based on their extension.

http://svnbook.red-bean.com/en/1.2/
svn.advanced.props.html#svn.advanced.props.auto

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu May 3 23:19:54 2007

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

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