--- a/hgext/pager.py Fri Oct 13 16:39:06 2017 +0200
+++ b/hgext/pager.py Wed Oct 11 02:26:09 2017 +0200
@@ -56,8 +56,8 @@
for cmd in cmds:
var = 'attend-%s' % cmd
- if ui.config('pager', var):
- usepager = ui.configbool('pager', var)
+ if ui.config('pager', var, None):
+ usepager = ui.configbool('pager', var, True)
break
if (cmd in attend or
(cmd not in ignore and not attend)):
--- a/mercurial/configitems.py Fri Oct 13 16:39:06 2017 +0200
+++ b/mercurial/configitems.py Wed Oct 11 02:26:09 2017 +0200
@@ -498,6 +498,10 @@
coreconfigitem('merge', 'preferancestor',
default=lambda: ['*'],
)
+coreconfigitem('pager', 'attend-.*',
+ default=dynamicdefault,
+ generic=True,
+)
coreconfigitem('pager', 'ignore',
default=list,
)