changeset 31061:77a252f2544d

outgoing: enable pager The structure here is similar to incoming, and requires similar treatment.
author Augie Fackler <augie@google.com>
date Mon, 06 Feb 2017 23:04:44 -0500
parents bcc9d4ebf81b
children 5b85ba3d7d77
files mercurial/commands.py
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commands.py	Mon Feb 06 23:04:26 2017 -0500
+++ b/mercurial/commands.py	Mon Feb 06 23:04:44 2017 -0500
@@ -3643,6 +3643,7 @@
     """
     if opts.get('graph'):
         cmdutil.checkunsupportedgraphflags([], opts)
+        ui.pager('outgoing')
         o, other = hg._outgoing(ui, repo, dest, opts)
         if not o:
             cmdutil.outgoinghooks(ui, repo, other, opts, o)
@@ -3661,11 +3662,13 @@
         if 'bookmarks' not in other.listkeys('namespaces'):
             ui.warn(_("remote doesn't support bookmarks\n"))
             return 0
+        ui.pager('outgoing')
         ui.status(_('comparing with %s\n') % util.hidepassword(dest))
         return bookmarks.outgoing(ui, repo, other)
 
     repo._subtoppath = ui.expandpath(dest or 'default-push', dest or 'default')
     try:
+        ui.pager('outgoing')
         return hg.outgoing(ui, repo, dest, opts)
     finally:
         del repo._subtoppath