--- a/mercurial/windows.py Mon Jun 05 23:23:03 2017 +0900
+++ b/mercurial/windows.py Mon Jun 05 23:36:35 2017 +0900
@@ -180,7 +180,6 @@
except IOError as inst:
if inst.errno != errno.EINVAL:
raise
- self.close()
raise IOError(errno.EPIPE, 'Broken pipe')
def _is_win_9x():