changeset 1970:119165543ce6

Fixed abort while remote incoming command on windows.
author Shun-ichi GOTO <shunichi.goto@gmail.com>
date Fri, 17 Mar 2006 17:23:52 -0800
parents 6d17d420c46c
children 915b81a35e46
files mercurial/commands.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commands.py	Fri Mar 17 18:53:04 2006 +0100
+++ b/mercurial/commands.py	Fri Mar 17 17:23:52 2006 -0800
@@ -1811,6 +1811,7 @@
             ui.write("\n")
 
     if cleanup:
+        os.close(fd)
         os.unlink(cleanup)
 
 def init(ui, dest="."):