diff mercurial/hg.py @ 31078:d2ed0abce08e

outgoing: avoid running pager until we're actually showing changes Consistent with the new behavior of incoming in the previous patch.
author Augie Fackler <augie@google.com>
date Tue, 21 Feb 2017 11:06:02 -0500
parents 16d7db8f752c
children 23080c03a604
line wrap: on
line diff
--- a/mercurial/hg.py	Tue Feb 21 10:53:13 2017 -0500
+++ b/mercurial/hg.py	Tue Feb 21 11:06:02 2017 -0500
@@ -872,6 +872,7 @@
 
     if opts.get('newest_first'):
         o.reverse()
+    ui.pager('outgoing')
     displayer = cmdutil.show_changeset(ui, repo, opts)
     count = 0
     for n in o: