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

Hook script failed but exit code is 0 (APR bug?)

From: Florent Guiliani <fguiliani_at_perinfo.com>
Date: 2006-11-14 16:28:57 CET

I've upgraded subversion from 1.2.3 to 1.4.0 and I observe a problem on
hook scripts. My hook script are working very well but sometimes
subversion seems to not handle it correctly. Sometimes I've got an error
message like this:

pre(or post)-commit failed with output:\n

I've recompiled subversion 1.4.0 with r21483 patch (improved error
checking when running hook scripts, etc) and now I've got the same
behavior but a different error message:

Error waiting for process '/subversion/depots/gw/hooks/post-commit': No
child processes

*The hook script is working correctly and call exit 0 at the end but
subversion think different.* It's like subversion doesn't get the exit
code or don't wait the end of the execution (the execution time is under
3 secondes).

I'm using:
- APR 0.9.12
- subversion-1.4.0 mod-davsvn
- apache 2.0.54
- php 5.1.6
- Redhat 7.3

How can I track this bug ?

Florent,

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Nov 15 22:53:55 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.