mercurial/posix.py
changeset 37460 a6c6b7beb025
parent 37459 90c5ca718781
child 37934 2d919ab6c5b4
--- a/mercurial/posix.py	Sat Apr 07 21:09:21 2018 +0900
+++ b/mercurial/posix.py	Sat Apr 07 21:14:16 2018 +0900
@@ -479,13 +479,6 @@
     except OSError as inst:
         return inst.errno != errno.ESRCH
 
-def explainexit(code):
-    """return a 2-tuple (desc, code) describing a subprocess status
-    (codes from kill are negative - not os.system/wait encoding)"""
-    if code >= 0:
-        return _("exited with status %d") % code, code
-    return _("killed by signal %d") % -code, -code
-
 def isowner(st):
     """Return True if the stat object st is from the current user."""
     return st.st_uid == os.getuid()