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

Re: post-commit hook not working

From: Rahul Bhargava <rahul_at_wandisco.com>
Date: 2006-04-12 07:28:57 CEST

Hi:

1. Have you installed the hook in your repos/hook dir ?
2. From SVN manual: For security reasons, the Subversion repository
executes hook scripts with an empty environment-that is, no environment
variables are set at all, not even $PATH or %PATH%. Because of this, a lot
of administrators are baffled when their hook script runs fine by hand, but
doesn't work when run by Subversion. Be sure to explicitly set environment
variables in your hook and/or use absolute paths to programs.

Rahul Bhargava
Subversion, CVS Solutions
http://www.wandisco.com

----- Original Message -----
From: "Andreas Adelsberger | [amp] - Adelsberger Media Productions"
<office@a-m-p.at>
To: <users@subversion.tigris.org>
Sent: Monday, April 10, 2006 10:21 PM
Subject: post-commit hook not working

> hi!
>
> my post-commit hook doesn't get executed!
>
> here is my post-commit:
>
>
> /usr/bin/svn export http://svnserver/testrepository
> /var/www/html/testrepository
>
>
> if I start it manually with
> ./post-commit
> everything works fine, but If I do a commit with toroisesvn, I don't get
> errors but the hook script is not fired.
>
> any ideas how i can fix that, the permissions seem to be correct.
>
> thanx a lot
> andi a
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Apr 11 19:43:19 2006

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

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