changeset 27:05c34e801d96

7901819: hg tstatus does not work well with pager Contributed-by: magnus.ihse.bursie@oracle.com Reviewed-by: jcoomes
author jjg
date Fri, 21 Apr 2017 14:52:54 -0700
parents 3c2eaa8d1d22
children af82295c9167
files trees.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/trees.py	Sat Sep 06 08:16:39 2014 -0700
+++ b/trees.py	Fri Apr 21 14:52:54 2017 -0700
@@ -241,6 +241,7 @@
         if o[1] in cmdopts:
             del cmdopts[o[1]]
     trc = cmd(ui, repo, *args, **cmdopts)
+    ui.flush()
     rc = trc != None and trc or 0
     for subtree in _subtreelist(ui, repo, opts):
         ui.status('\n')
@@ -256,6 +257,7 @@
 
     ui.status('[%s]:\n' % repo.root)
     trc = cmd(ui, repo, remote, **opts)
+    ui.flush()
     rc = trc != None and trc or 0
     for subtree in _subtreelist(ui, repo, opts):
         ui.status('\n')