mercurial/hook.py
changeset 14234 600e64004eb5
parent 13207 1775382ff833
child 14711 ac70f8d5987c
--- 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))