[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: post-commit hooks not working

From: <cmpilato_at_collab.net>
Date: 2003-05-08 17:50:01 CEST

"Mike Gallan" <mgallan@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
Received on Thu May 8 17:54:46 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.