I have a post commit on github that does just that and allows users (and not the administrator to tell which files they are following changes and which email addresses these changes should be sent.
pre-commit-kitchen-sink hook, . hook Perl, , .
, :
mail = david@gmail.com
file =**/build.xml
match = [Mm]akefile
mail . . file - glob ( ) , . match , Perl, .
Subversion . , . pre-commit- , :
[file You are only allowed to change their own watch files]
file =/watchfiles/**
permission = read-only
users = @ALL
[file You are only allowed to change their own watch files]
file = /watchfiles/<USER>.cfg
permission = read-write
users = @ALL
<USER> .
, ? file = ab/build.xml, bb/cs.txt, cc/. ..
:
email = my@email.com
file = **/ab/build.xml
file = **/bb/cs.txt
file = **/cc/*.*
, file glob ( / ), **/ .