outgoing: enable pager
The structure here is similar to incoming, and requires similar treatment.
--- 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