mercurial/commands.py
changeset 13400 14f3795a5ed7
parent 13396 3e66eec9a814
child 13406 5e57c199848d
--- a/mercurial/commands.py	Fri Feb 11 22:24:10 2011 +0800
+++ b/mercurial/commands.py	Fri Dec 24 15:23:01 2010 +0100
@@ -750,6 +750,7 @@
         if opts.get('decode'):
             data = repo.wwritedata(abs, data)
         fp.write(data)
+        fp.close()
         err = 0
     return err