I try to set up a post-commit hook on a subversion 1.6.12 server to send a notification mail on commit.
I am already using the script mailer.py (delivered by subversion team in the utils folder) with basic configuration (just send an email after each commit) and it works well.
But now, I want to send a mail only when there is a commit in the /tags/ folder.
This is my standard mailer.conf (that works well) :
[general]
smtp_hostname = xxx.xxx.xxx.xxx
[defaults]
from_addr = myemail@domain.tld
to_addr = myemail@domain.tld
And this is what I tried to configure for a mail on /tags/ only :
[general]
smtp_hostname = xxx.xxx.xxx.xxx
[defaults]
from_addr = myemail@domain.tld
to_addr = myemail@domain.tld
for_paths = .*/tags/.*
But it looks like I am misunderstand the configuration because it does not work : I receive mail on all commits (tags or not)
Any idea? Thank you.