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

Re: How to debug a post-commit.py

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2003-07-04 00:25:54 CEST

Niklaus Giger <ngiger@mus.ch> writes:

> Calling it like this
> $ sudo -u www-data ./post-commit.py /var/svn 24
> works fine.
> Restarting the apache2 server did not help neither.
>
> Which point did I miss?

It has to be called 'post-commit', not 'post-commit.py'.

It's right at the top of post-commit.tmpl:

# 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)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jul 4 00:27:26 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.