[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 invocation fails.

From: Ryan Schmidt <subversion-2005_at_ryandesign.com>
Date: 2005-08-10 14:20:23 CEST

On 09.08.2005, at 22:33, Michael Gozzo wrote:

> I have a simple post-commit script that simply echo's the passed
> revision parameter to a file in /tmp.
> When following the procedure for hook debugging in the FAQ (su to
> the subversion user and env -), the script executes correctly.
> However, upon commits the script does not run at all.
> The permissions on /tmp are 777 and echo is being invoked using an
> absolute call to /bin/echo. We are running svnserve on subversion
> 1.2. The subversion user has execute permission on the post-commit
> script.
> Should the server be restarted after the post-commit script is
> created? Is there an additional configuration setting that I've
> overlooked?

Have you tried redirecting stderr from your script to a log file?

Can you show us your exact script?

Also, it would be better if you sent plain-text messages, or offered
a plain-text alternative to your HTML, or at least didn't send HTML
which specified a font size smaller than the default -- makes it hard
to read. :-)

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Aug 10 14:22:03 2005

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.