changeset 21280:71028188970e

pager: variable reorder
author Matt Mackall <mpm@selenic.com>
date Fri, 09 May 2014 13:10:23 -0500
parents 19b8cfe4396f
children bcddddcf0b54
files hgext/pager.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)):