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
+++ 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="."):