D990: dispatch: when --pager=no is passed, also disable pager on req.repo.ui
quark (Jun Wu)
phabricator at mercurial-scm.org
Fri Oct 13 10:05:58 EDT 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG021607b4ef49: dispatch: when --pager=no is passed, also disable pager on req.repo.ui (authored by quark, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D990?vs=2572&id=2676
REVISION DETAIL
https://phab.mercurial-scm.org/D990
AFFECTED FILES
mercurial/dispatch.py
CHANGE DETAILS
diff --git a/mercurial/dispatch.py b/mercurial/dispatch.py
--- a/mercurial/dispatch.py
+++ b/mercurial/dispatch.py
@@ -871,7 +871,8 @@
# ui.pager() expects 'internal-always-' prefix in this case
ui.pager('internal-always-' + cmd)
elif options['pager'] != 'auto':
- ui.disablepager()
+ for ui_ in uis:
+ ui_.disablepager()
if options['version']:
return commands.version_(ui)
To: quark, #hg-reviewers, lothiraldan
Cc: lothiraldan, mercurial-devel
More information about the Mercurial-devel
mailing list