# HG changeset patch # User Augie Fackler # Date 1486440284 18000 # Node ID 77a252f2544d20ec60b253c8a17487be76dc1c0e # Parent bcc9d4ebf81ba13ed0590288dea3470b16149801 outgoing: enable pager The structure here is similar to incoming, and requires similar treatment. diff -r bcc9d4ebf81b -r 77a252f2544d mercurial/commands.py --- 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