equal
deleted
inserted
replaced
92 (cmd not in ignore and not attend)): |
92 (cmd not in ignore and not attend)): |
93 usepager = True |
93 usepager = True |
94 break |
94 break |
95 |
95 |
96 if usepager: |
96 if usepager: |
|
97 # Slight hack: the attend list is supposed to override |
|
98 # the ignore list for the pager extension, but the |
|
99 # core code doesn't know about attend, so we have to |
|
100 # lobotomize the ignore list so that the extension's |
|
101 # behavior is preserved. |
|
102 ui.setconfig('pager', 'ignore', '', 'pager') |
97 ui.pager('extension-via-attend-' + cmd) |
103 ui.pager('extension-via-attend-' + cmd) |
98 return orig(ui, options, cmd, cmdfunc) |
104 return orig(ui, options, cmd, cmdfunc) |
99 |
105 |
100 # Wrap dispatch._runcommand after color is loaded so color can see |
106 # Wrap dispatch._runcommand after color is loaded so color can see |
101 # ui.pageractive. Otherwise, if we loaded first, color's wrapped |
107 # ui.pageractive. Otherwise, if we loaded first, color's wrapped |