# HG changeset patch # User Thomas Arendsen Hein # Date 1125429987 -7200 # 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 -r 235e0effa672 -r e388c4f5cec5 mercurial/util.py --- 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