Mercurial > public > mercurial-scm > hg-stable
diff hgext/patchbomb.py @ 4596:8e37342cb05d
patchbomb: flush ui before delegating to pager.
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Sun, 17 Jun 2007 19:40:02 +0200 |
parents | ba3e13306f70 |
children | ec431334e4fc |
line wrap: on
line diff
--- a/hgext/patchbomb.py Sun Jun 17 19:39:47 2007 +0200 +++ b/hgext/patchbomb.py Sun Jun 17 19:40:02 2007 +0200 @@ -275,6 +275,7 @@ 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))