Mercurial > hg-stable
diff mercurial/dispatch.py @ 33618:cc047a733f69 stable
ui: enable pager always for explicit --pager=on (issue5580)
Before this patch, explicit --pager=on is unintentionally ignored by
any disabling factor, even if priority of it is less than --pager=on
(e.g. "[ui] paginate = off").
author | FUJIWARA Katsunori <foozy@lares.dti.ne.jp> |
---|---|
date | Tue, 01 Aug 2017 18:52:52 +0900 |
parents | 0407a51b9d8c |
children | d5b2beca16c0 |
line wrap: on
line diff
--- a/mercurial/dispatch.py Mon Jul 31 21:47:53 2017 +0900 +++ b/mercurial/dispatch.py Tue Aug 01 18:52:52 2017 +0900 @@ -828,6 +828,7 @@ color.setup(ui_) if util.parsebool(options['pager']): + # ui.pager() expects 'internal-always-' prefix in this case ui.pager('internal-always-' + cmd) elif options['pager'] != 'auto': ui.disablepager()