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

[solved] Post-commit hook problem

From: Lauri Kotilainen <postmaster_at_true-evil.net>
Date: 2004-03-08 07:04:08 CET

Karl Fogel wrote:

>Lauri Kotilainen <postmaster@true-evil.net> writes:
>
>
>>Hi. I recently installed svn 1.0 from FreeBSD ports (FreeBSD 5.1), and
>>I'm having a problem with my post-commit hook script; namely it
>>doesn't seem to run at all. My repository is /home/svn/web/, and the
>>script is /home/svn/web/hooks/post-commit . I'm using svn through the
>>apache module, and the apache user is www. If I su www and run
>>./post-commit in the hooks directory, everything goes as is supposed
>>to, but when I do a commit via the client, nothing happens.
>>
>>Is there a best practice to debugging or something?
>>
>>
>
>See if you can get it to do something simple first, like create a file
>in some world-writeable directory.
>
>If you can, then get it to print its environment variables to that
>file. Maybe the problem is with $PATH or something like that.
>
>-Karl
>
>
Yep, that was the case. Absolute paths solved the problem, thanks!

-Lauri-

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Mar 8 07:18:17 2004

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.