changeset 32105:2384a6546927 stable

pager: drop the support for 'pager.enable=<bool>' This option was never released except for a release candidate. Dropping compatibility with this option will free the 'pager.enable' config option for other usage in the future.
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Tue, 02 May 2017 17:18:13 +0200
parents f06d23af6cdf
children bb96d4a49743
files mercurial/ui.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/ui.py	Mon May 01 16:36:50 2017 +0200
+++ b/mercurial/ui.py	Tue May 02 17:18:13 2017 +0200
@@ -856,8 +856,7 @@
         if (self._disablepager
             or self.pageractive
             or command in self.configlist('pager', 'ignore')
-            or not self.configbool('ui', 'paginate',
-                                   self.configbool('pager', 'enable', True))
+            or not self.configbool('ui', 'paginate', True)
             or not self.configbool('pager', 'attend-' + command, True)
             # TODO: if we want to allow HGPLAINEXCEPT=pager,
             # formatted() will need some adjustment.