pager: drop the support for 'pager.enable=<bool>' stable
authorPierre-Yves David <pierre-yves.david@ens-lyon.org>
Tue, 02 May 2017 17:18:13 +0200
branchstable
changeset 32105 2384a6546927
parent 32104 f06d23af6cdf
child 32107 bb96d4a49743
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.
mercurial/ui.py
--- 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.