You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by cm...@collab.net on 2003/05/08 15:50:01 UTC
Re: post-commit hooks not working
"Mike Gallan" <mg...@hotmail.com> writes:
> I'm having trouble getting commit-email.pl to run at post-commit. I
> have my repository in /home/subversion/Test. Apache is running as
> user 'subversion'. I'm able to add/delete/commit/etc. both locally
> and remotely to the Test repository without error.
>
> commit-email.pl and post-commit.tmpl are in
> /home/subversion/Test/hooks. I've checked the mail script itself and
> it works fine when called from the command line. When I run
> post-commit.tmpl by hand it also works.
>
> Is there something I'm overlooking? Do hooks have to be enabled
> somewhere? Any help is appreciated.
Looks like the only thing you missed is that post-commit.tmpl is a
template. You need to rename it to just 'post-commit' for it to be
active.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org