[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 won't run

From: Lauri Kotilainen <postmaster_at_true-evil.net>
Date: 2004-03-17 18:51:05 CET

Dick Davies wrote:

>Is there a step missing from the manual?
>
>I've mv'ed post-commit.tmpl to post-commit, make it executable,
>copied commit-email.pl into hooks/ and made *that* executable
>and edited the mail address in it,
>
>when I run
>"./post-commit /path/to/repo 22 "
>I get a mail, but nothing when I commit.
>
>I'm not using svnserve or apache, just file:// protocol - would that
>matter?
>
>Is there a step I'vi missed?
>
>
>
I'm not sure if the manual says this -- but you don't have a current
directory set, and _your path env variable is empty_, so you need to use
absolute paths for commands, or set the path yourself.

-Lauri-

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Mar 17 18:51:35 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.