[PATCH 13 of 19 pager] outgoing: enable pager
Augie Fackler
raf at durin42.com
Sun Feb 19 18:13:04 EST 2017
# HG changeset patch
# User Augie Fackler <augie at google.com>
# Date 1486440284 18000
# Mon Feb 06 23:04:44 2017 -0500
# Node ID 1a66b4d02263e729191c832b6c1ede112a698279
# Parent 8068b33f645ab0e7770f709e9b9d8dd24f67d762
outgoing: enable pager
The structure here is similar to incoming, and requires similar treatment.
diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -3643,6 +3643,7 @@ def outgoing(ui, repo, dest=None, **opts
"""
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 @@ def outgoing(ui, repo, dest=None, **opts
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
More information about the Mercurial-devel
mailing list