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

Re: Default eol styles

From: Erik Huelsmann <e.huelsmann_at_gmx.net>
Date: 2004-01-11 16:13:02 CET

[ Turned away from dev@ list since this is more of a user question now ]

Hi Carsten,

Ok; to understand your problem I replayed your commands here.

> I'm trying the auto-props feature. I'm using the command line
> client. My config file has:
> [miscellany]
> enable-auto-props = yes
> [auto-props]
> configure = svn:eol-style=LF
> * = svn:eol-style=native
> I'm trying to have files default to svn:eol-style=native,
> except for files named configure which should have
> svn:eol-style=LF. I import two files of which one is named
> configure. They both get svn:eol-style=native. I try to
> reverse it:
> [auto-props]
> * = svn:eol-style=native
> configure = svn:eol-style=LF
> and import again, but they still both get svn:eol-style=native.

This is what I saw too. Then looking at the code, I concluded that it does
not take the order of definition into account. Nor does it use any indicator
of 'how well the file matched' to set the properties. In the current code,
when you specify overlapping patterns with the same properties, but with
different values, the result is undefined.... I'm sorry to see that this will not
help you much.

> How can I set a default svn:eol-style for new files and still
> have rules for other files?

I don't understand this question. Auto-props are used to set properties on
files. Which means that if you change the auto-props settings only newly added
files will be affected. All files which are already added have their
properties set and thus continue to use whatever rules were set when they were
added... If you want to change those rules, you can change the properties of those
files in the repository.



+++ GMX - die erste Adresse für Mail, Message, More +++
Neu: Preissenkung für MMS und FreeMMS! http://www.gmx.net
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Jan 11 16:13:58 2004

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.