Mercurial > hg > mercurial-source
changeset 31836: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 (2017-02-21) |
parents | 37ab9e20991c |
children | d2ed0abce08e |
files | mercurial/commands.py mercurial/hg.py |
diffstat | 2 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -3210,7 +3210,6 @@ cmdutil.displaygraph(ui, repo, revdag, displayer, graphmod.asciiedges) - ui.pager('incoming') hg._incoming(display, lambda: 1, ui, repo, source, opts, buffered=True) return 0 @@ -3230,7 +3229,6 @@ repo._subtoppath = ui.expandpath(source) try: - ui.pager('incoming') return hg.incoming(ui, repo, source, opts) finally: del repo._subtoppath