diff -r 659f34b833b9 -r 600e64004eb5 mercurial/hook.py --- a/mercurial/hook.py Fri May 06 15:25:35 2011 +0200 +++ b/mercurial/hook.py Fri May 06 15:31:09 2011 +0200 @@ -109,7 +109,7 @@ else: r = util.system(cmd, environ=env, cwd=cwd) if r: - desc, r = util.explain_exit(r) + desc, r = util.explainexit(r) if throw: raise util.Abort(_('%s hook %s') % (name, desc)) ui.warn(_('warning: %s hook %s\n') % (name, desc))