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

Re: multi auto-props

From: Brian W. Fitzpatrick <fitz_at_red-bean.com>
Date: 2004-03-15 17:27:53 CET

On Mon, 2004-03-15 at 06:19, mgil@mail.vernet.pl wrote:
> Hi!
> I've read a chapter in The Book how to set up automatic properties. All
> the examples are of common 'regex = propname=propvalue'. My question is:
> - can I have multiple propname=propvalue for single regex?

(Nit: it's not a regular expression--it's just a simple pattern match)

Short answer: No.

Long answer: You *can*, but the last one evaluated is going to win out
over the previous ones. The real killer here is that there is no
guarantee of ordinality: the last line in your config may well not be
the last line evaluated by Subversion (the config items are stored in a
hash table, and they may be retrieved from it in any order).

Question: Why not just do multiple propsets in one pattern match? Your
~/.subversion/config should have an example that does just that:

    *.sh = svn:eol-style=native;svn:executable

-Fitz

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Mar 15 17:28:42 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.