Mercurial > hg-stable
changeset 31054:270ab9d2ffbb
config: activate pager if not starting an editor
This demonstrates the power of the non-attend-based pager API.
author | Augie Fackler <augie@google.com> |
---|---|
date | Mon, 06 Feb 2017 23:01:42 -0500 |
parents | 861b070d92da |
children | 8c176811b735 |
files | mercurial/commands.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/commands.py Mon Feb 06 23:57:21 2017 -0500 +++ b/mercurial/commands.py Mon Feb 06 23:01:42 2017 -0500 @@ -1792,7 +1792,7 @@ ui.system("%s \"%s\"" % (editor, f), onerr=error.Abort, errprefix=_("edit failed")) return - + ui.pager('config') fm = ui.formatter('config', opts) for f in scmutil.rcpath(): ui.debug('read config from: %s\n' % f)