pager: variable reorder
authorMatt Mackall <mpm@selenic.com>
Fri, 09 May 2014 13:10:23 -0500
changeset 21280 71028188970e
parent 21279 19b8cfe4396f
child 21281 bcddddcf0b54
pager: variable reorder
hgext/pager.py
--- a/hgext/pager.py	Fri May 09 13:07:50 2014 -0500
+++ b/hgext/pager.py	Fri May 09 13:10:23 2014 -0500
@@ -128,9 +128,9 @@
             usepager = False
         else:
             attend = ui.configlist('pager', 'attend', attended)
+            ignore = ui.configlist('pager', 'ignore')
             cmds, _ = cmdutil.findcmd(cmd, commands.table)
 
-            ignore = ui.configlist('pager', 'ignore')
             for cmd in cmds:
                 if (cmd in attend or
                      (cmd not in ignore and not attend)):