Mercurial > public > mercurial-scm > hg
comparison mercurial/hg.py @ 31057: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 |
parents | 7beb3ec34443 |
children | d2ed0abce08e |
comparison
equal
deleted
inserted
replaced
31056:37ab9e20991c | 31057:16d7db8f752c |
---|---|
802 revs, opts["bundle"], opts["force"]) | 802 revs, opts["bundle"], opts["force"]) |
803 try: | 803 try: |
804 if not chlist: | 804 if not chlist: |
805 ui.status(_("no changes found\n")) | 805 ui.status(_("no changes found\n")) |
806 return subreporecurse() | 806 return subreporecurse() |
807 | 807 ui.pager('incoming') |
808 displayer = cmdutil.show_changeset(ui, other, opts, buffered) | 808 displayer = cmdutil.show_changeset(ui, other, opts, buffered) |
809 displaychlist(other, chlist, displayer) | 809 displaychlist(other, chlist, displayer) |
810 displayer.close() | 810 displayer.close() |
811 finally: | 811 finally: |
812 cleanupfn() | 812 cleanupfn() |