On Wed, 2004-03-17 at 11:47, 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?
That shouldn't matter.
When the 'svn' process runs the hook script, it might be running with a
different environment than when you run the hook script by hand. Make
sure the script is only using absolute paths. And as an experiment,
write a hook script that just adds text to a file, just to verify that
the hook is, in fact, running at all.
---------------------------------------------------------------------
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:52:12 2004