Fixed abort while remote incoming command on windows.
authorShun-ichi GOTO <shunichi.goto@gmail.com>
Fri, 17 Mar 2006 17:23:52 -0800
changeset 1970 119165543ce6
parent 1969 6d17d420c46c
child 1971 915b81a35e46
Fixed abort while remote incoming command on windows.
mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -1811,6 +1811,7 @@ def incoming(ui, repo, source="default",
             ui.write("\n")
 
     if cleanup:
+        os.close(fd)
         os.unlink(cleanup)
 
 def init(ui, dest="."):