hgext/patchbomb.py
changeset 4597 ec431334e4fc
parent 4564 087b3ae4f08a
parent 4596 8e37342cb05d
child 4599 88fc92b0b821
--- a/hgext/patchbomb.py
+++ b/hgext/patchbomb.py
@@ -380,6 +380,7 @@ def patchbomb(ui, repo, *revs, **opts):
         if bcc: m['Bcc'] = ', '.join(bcc)
         if opts['test']:
             ui.status('Displaying ', m['Subject'], ' ...\n')
+            ui.flush()
             fp = os.popen(os.getenv('PAGER', 'more'), 'w')
             try:
                 fp.write(m.as_string(0))