hgext/convert/subversion.py
changeset 36512 d697e39f61a6
parent 36455 9e3cb58c7ab3
child 36607 c6061cadb400
--- a/hgext/convert/subversion.py	Sun Jan 07 11:53:07 2018 +0900
+++ b/hgext/convert/subversion.py	Wed Feb 28 16:24:39 2018 +0100
@@ -149,7 +149,7 @@
         pickle.dump(str(inst), fp, protocol)
     else:
         pickle.dump(None, fp, protocol)
-    fp.close()
+    fp.flush()
     # With large history, cleanup process goes crazy and suddenly
     # consumes *huge* amount of memory. The output file being closed,
     # there is no need for clean termination.