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

Re: Warning: post-commit hook failed (exit code 255) with no output.

From: David Weintraub <qazwart_at_gmail.com>
Date: Thu, 31 Jul 2008 22:40:33 -0400

Maybe you can put some simple debugging information in your hook. Hook
scripts will display what is printed in STDERR if they fail.

In Bourne shell and Bat scripts, you can redirect the echo statements
to standard error by doing this:

echo "This message will go to STDERR" 1>&2

Take a look at your hook script and see what assumptions you're
making. For example, print out the environment the hook is running
under. I've found that 90% of the time when a hook script fails, it
fails because an assumption I am making about my environment proves to
be false.

--
David Weintraub
qazwart_at_gmail.com
On Thu, Jul 31, 2008 at 10:13 PM, Xinhao Zheng <xinhaozheng_at_gmail.com> wrote:
> hi all,
>
>  I meet those output when make use of post-commit hook to update live site
> working copy.
>  i use apapche + mod_dav.
>  the post-commit script can run with no error when i use env - ./post-commit
> command.
>  and the user the server run on have the full permisstion on the working
> copy.
>  hope someone can help me to figure out.
>  thanks.
> George
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: users-help_at_subversion.tigris.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-08-01 04:41:03 CEST

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.