mercurial/ui.py
changeset 31497 8122cc5cb543
parent 31488 a7c687c35119
child 31538 713e984bec91
--- a/mercurial/ui.py	Sat Feb 25 17:27:48 2017 +0900
+++ b/mercurial/ui.py	Sat Feb 25 17:29:30 2017 +0900
@@ -845,6 +845,7 @@
             return
 
         self.debug('starting pager for command %r\n' % command)
+        self.flush()
         self.pageractive = True
         # Preserve the formatted-ness of the UI. This is important
         # because we mess with stdout, which might confuse