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@...
On Thu, Jul 31, 2008 at 10:13 PM, Xinhao Zheng <
xinhaozheng@...> 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@...
> For additional commands, e-mail:
users-help@...
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail:
users-unsubscribe@...
For additional commands, e-mail:
users-help@...