Mercurial > public > mercurial-scm > hg-stable
diff mercurial/posix.py @ 14234:600e64004eb5
rename explain_exit to explainexit
author | Adrian Buehlmann <adrian@cadifra.com> |
---|---|
date | Fri, 06 May 2011 15:31:09 +0200 |
parents | 659f34b833b9 |
children | b9e1b041744f |
line wrap: on
line diff
--- a/mercurial/posix.py Fri May 06 15:25:35 2011 +0200 +++ b/mercurial/posix.py Fri May 06 15:31:09 2011 +0200 @@ -210,7 +210,7 @@ except OSError, inst: return inst.errno != errno.ESRCH -def explain_exit(code): +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: