changeset 13081:79184986658c

export: flush the file pointer between patches
author Dan Villiom Podlaski Christiansen <danchr@gmail.com>
date Wed, 01 Dec 2010 21:46:08 +0100
parents bdb73eede5fb
children 4db5bfea1b07
files mercurial/cmdutil.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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)