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

svn behavior when the 'post-commit' hook fails

From: Vincent Lefevre <vincent+svn_at_vinc17.org>
Date: Thu, 26 Feb 2009 13:09:43 +0100

After a commit (svn client 1.5.x, svn server 1.4.x IIRC), I got:

------------------------------------------------------------------
Sending www/index.html
Transmitting file data .
Committed revision 5987.

Warning: 'post-commit' hook failed with error output:

------------------------------------------------------------------

but no error output (except a blank line, which may have been added
by svn). I wonder why such a blank line only. A possible reason is
that the hook process has been killed by the system, but Subversion
doesn't say anything about that. Could Subversion output the exit
status in addition to the possible error message (as this would give
such information)?

Note: the 'post-commit' hook just executes

  /usr/lib/subversion/hook-scripts/commit-email.pl ...

and this is the first time I have such an error.

-- 
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)
Received on 2009-02-26 13:10:52 CET

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.