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

How to debug a post-commit.py

From: Niklaus Giger <ngiger_at_mus.ch>
Date: 2003-07-03 22:32:04 CEST


Many thanks to everybody contributing to Subversion. It is a nice tool.

I have a small Subversion repository running on my Debian system.
Now I tried to activate a post-commit trigger, and it seems that it
does not get fired. At the moment it just has the following lines in it.

/usr/bin/logger "svn-commit Repos $1 Revision $2 "
/var/svn/commit-email.pl "$REPOS" "$REV" ngiger@mus.ch

The listing is
-rwxr-xr-x 1 www-data www-data 1.4K 2003-07-03 22:09
rwxr-xr-x 1 root root 17K 2003-07-03 22:08
(commit-email.pl is a copy of the distributed file)

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? Searching the web and the
subversion book for half an hour did not help.

Any help would be greatly appreciated. Please
answer also directly as I am not subscribed to this list.

Best regards

Niklaus Giger
Wieshoschet 6
CH-8753 Mollis
Tel. ++41 55 612 20 54 (privat)
Tel. ++41 55 618 64 68 (Geschäft)
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jul 3 22:33:02 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.