Some post-commit tmpl uses commit-email.pl
while others use mailer.py
by default. Could you tell me how this works?
So I will give it a try. The following is happening when you create a new Subversion repository (of course depending on the tool and version you are using, that may be different)
svnadmin create <repo-name>
.hooks
was created, with the default entries of Subversion. These have all the suffix .tmpl
which means that none of the hooks is active by default.pre-commit
instead of pre-commit.tmpl
), the hook is activated in will be used by Subversion.So it is the decision of the administrator which hook to use (if any), Subversion provides only examples or default implementations that may be activated by the administrator.
See http://svnbook.red-bean.com/en/1.7/svn.reposadmin.create.html with the section "Implementing Repository Hooks" for details.