diff mercurial/hg.py @ 31077:16d7db8f752c

incoming: delay pager activation until right before printing changes This prevents authentication and other brief status messages from being paged.
author Augie Fackler <augie@google.com>
date Tue, 21 Feb 2017 10:53:13 -0500
parents 7beb3ec34443
children d2ed0abce08e
line wrap: on
line diff
--- a/mercurial/hg.py	Sat Feb 18 21:30:28 2017 +1100
+++ b/mercurial/hg.py	Tue Feb 21 10:53:13 2017 -0500
@@ -804,7 +804,7 @@
         if not chlist:
             ui.status(_("no changes found\n"))
             return subreporecurse()
-
+        ui.pager('incoming')
         displayer = cmdutil.show_changeset(ui, other, opts, buffered)
         displaychlist(other, chlist, displayer)
         displayer.close()