mercurial/util.py
changeset 14234 600e64004eb5
parent 14230 d51630301241
child 14235 b9e1b041744f
--- a/mercurial/util.py	Fri May 06 15:25:35 2011 +0200
+++ b/mercurial/util.py	Fri May 06 15:31:09 2011 +0200
@@ -197,7 +197,7 @@
             code = 0
         if code:
             raise Abort(_("command '%s' failed: %s") %
-                        (cmd, explain_exit(code)))
+                        (cmd, explainexit(code)))
         fp = open(outname, 'rb')
         r = fp.read()
         fp.close()
@@ -369,7 +369,7 @@
         rc = 0
     if rc and onerr:
         errmsg = '%s %s' % (os.path.basename(origcmd.split(None, 1)[0]),
-                            explain_exit(rc)[0])
+                            explainexit(rc)[0])
         if errprefix:
             errmsg = '%s: %s' % (errprefix, errmsg)
         try: