changeset 1169:e388c4f5cec5

Reverted changeset e254bcbfe636e97301f76c7da241b07be14f3d36 Volker Kleinfeld agreed that this is dead code and tried to fix a problem which was already fixed somewhere else.
author Thomas Arendsen Hein <thomas@intevation.de>
date Tue, 30 Aug 2005 21:26:27 +0200
parents 235e0effa672
children 85555540a4e2
files mercurial/util.py
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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