[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: Michael Wood <mwood_at_its.uct.ac.za>
Date: 2003-05-08 17:56:26 CEST

On Thu, May 08, 2003 at 11:50:51AM -0400, Mike Gallan wrote:
> 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.

Rename post-commit.tmpl to post-commit.

# POST-COMMIT HOOK
#
# The post-commit hook is invoked after a commit. Subversion runs
# this hook by invoking a program (script, executable, binary,
# etc.) named `post-commit' (for which
        ^^^^^^^^^^^^^^^^^^^
# this file is a template) with the following ordered arguments:

-- 
Michael Wood <mwood@its.uct.ac.za>
---------------------------------------------------------------------
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:57:30 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.