# HG changeset patch # User Thomas Arendsen Hein # Date 2005-08-30 19:26:27 # Node ID e388c4f5cec5cd6f86c160d37b270b65629a316d # Parent 235e0effa67244fb020b4397843702b13b5ba98c Reverted changeset e254bcbfe636e97301f76c7da241b07be14f3d36 Volker Kleinfeld agreed that this is dead code and tried to fix a problem which was already fixed somewhere else. diff --git a/mercurial/util.py b/mercurial/util.py --- a/mercurial/util.py +++ b/mercurial/util.py @@ -342,8 +342,6 @@ else: 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