hgext/pager.py
changeset 30995 5e85bab867a7
parent 30993 9c2977ceaa46
child 30999 334cf948c758
--- a/hgext/pager.py	Wed Feb 15 17:48:03 2017 -0500
+++ b/hgext/pager.py	Mon Feb 06 23:21:45 2017 -0500
@@ -94,6 +94,12 @@
                     break
 
             if usepager:
+                # Slight hack: the attend list is supposed to override
+                # the ignore list for the pager extension, but the
+                # core code doesn't know about attend, so we have to
+                # lobotomize the ignore list so that the extension's
+                # behavior is preserved.
+                ui.setconfig('pager', 'ignore', '', 'pager')
                 ui.pager('extension-via-attend-' + cmd)
         return orig(ui, options, cmd, cmdfunc)