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

solved: post commit script doesn't execute

From: Mark <mmaglana_at_gmail.com>
Date: 2006-02-02 10:52:26 CET

Hi all,

I just thought I'd share this solution since it took me 3 days to
figure out what the hell was wrong. I'm using FC 4 to host my svn and
bugzilla servers. When I added a line in the post commit hook that
calls a perl script, i was puzzled why nothing happened even if i
already provided the right absolute paths. what cought my attention
though, is that even perl scripts in my bugzilla folder didn't execute
as expected except when called manually.

It turns out that calls to perl scripts do not seem to execute when
they're located in /var/www. For example, in my post commit file

/bin/touch /tmp/itsalive
/bin/touch /tmp/itsreallyalive

The first line and third lines execute sucessfully, the second doesn't.

What I did was move the svn repositories from /var/www/svn to
/usr/local/svn and just update http.conf to point to that directory.

My problems are solved now and I am able to sleep soundly again. :-) I
hope this saves someone else from the headaches and sleepless nights i
went through.

Best regards,


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Feb 2 10:53:43 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.