Partial fix for issue 443, returns start-commit and pre-commit hook errors, post-commit hook errors are still lost.
Partial fix for issue 443, returns start-commit and pre-commit hook
errors, post-commit hook errors are still lost.

Patch by: Gustavo Niemeyer <niemeyer@conectiva.com>
(Tweaked by me.)

* subversion/libsvn_repos/hooks.c
  (run_hook_cmd): Replaces run_cmd_with_output to encapsulate hook
  error handling.
  
  (run_pre_commit_hook, run_post_commit_hook): Use run_hook_cmd.

  (run_start_commit_hook): Use run_hook_cmd.  Return an error if the
  hook fails.


git-svn-id: f8a4e5e023278da1e04e203c7fe051e3c4285d88@843218 13f79535-47bb-0310-9956-ffa450edef68

wbond/subversion,YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion,wbond/subversion,YueLinHo/Subversion,wbond/subversion,wbond/subversion,YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion