export: flush the file pointer between patches
authorDan Villiom Podlaski Christiansen <danchr@gmail.com>
Wed, 01 Dec 2010 21:46:08 +0100
changeset 13081 79184986658c
parent 13080 bdb73eede5fb
child 13082 4db5bfea1b07
export: flush the file pointer between patches
mercurial/cmdutil.py
--- a/mercurial/cmdutil.py	Wed Dec 01 19:20:16 2010 +0100
+++ b/mercurial/cmdutil.py	Wed Dec 01 21:46:08 2010 +0100
@@ -699,6 +699,8 @@
         for chunk in patch.diff(repo, prev, node, opts=opts):
             fp.write(chunk)
 
+        fp.flush()
+
     for seqno, rev in enumerate(revs):
         single(rev, seqno + 1, fp)