Reverted changeset
e254bcbfe636e97301f76c7da241b07be14f3d36
Volker Kleinfeld agreed that this is dead code and tried to fix a problem
which was already fixed somewhere else.
--- a/mercurial/util.py Tue Aug 30 19:42:58 2005 +0200
+++ b/mercurial/util.py Tue Aug 30 21:26:27 2005 +0200
@@ -342,8 +342,6 @@
def explain_exit(code):
"""return a 2-tuple (desc, code) describing a process's status"""
- if os.name == 'nt': # os.WIFxx is not supported on windows
- return "aborted with error." , -1
if os.WIFEXITED(code):
val = os.WEXITSTATUS(code)
return "exited with status %d" % val, val