You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by mg...@mail.vernet.pl on 2004/03/15 12:19:27 UTC
multi auto-props
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?
Regards,
--
Marcin Gil
mgil : vernet pl
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: multi auto-props
Posted by Marcin Gil <mg...@vernet.pl>.
Brian W. Fitzpatrick wrote:
>
> 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
>
It truly has. Thank you.
All I wanted to achieve was my .php, .js and .tpl files to have
svn:eol-style and svn:keywords set. Yesterday I've needed two lines,
today - only one :)
--
Marcin Gil
email# mgil : vernet pl | GaduGadu ID# 185057
JID# dentharg : chrome pl | http://marcin.gilusiowy.net
Re: multi auto-props
Posted by "Brian W. Fitzpatrick" <fi...@red-bean.com>.
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