diff mercurial/hook.py @ 14234:600e64004eb5

rename explain_exit to explainexit
author Adrian Buehlmann <adrian@cadifra.com>
date Fri, 06 May 2011 15:31:09 +0200
parents 1775382ff833
children ac70f8d5987c
line wrap: on
line diff
--- 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))