comparison hgext/pager.py @ 21280:71028188970e

pager: variable reorder
author Matt Mackall <mpm@selenic.com>
date Fri, 09 May 2014 13:10:23 -0500
parents 19b8cfe4396f
children bcddddcf0b54
comparison
equal deleted inserted replaced
21279:19b8cfe4396f 21280:71028188970e
126 usepager = True 126 usepager = True
127 elif not auto: 127 elif not auto:
128 usepager = False 128 usepager = False
129 else: 129 else:
130 attend = ui.configlist('pager', 'attend', attended) 130 attend = ui.configlist('pager', 'attend', attended)
131 ignore = ui.configlist('pager', 'ignore')
131 cmds, _ = cmdutil.findcmd(cmd, commands.table) 132 cmds, _ = cmdutil.findcmd(cmd, commands.table)
132 133
133 ignore = ui.configlist('pager', 'ignore')
134 for cmd in cmds: 134 for cmd in cmds:
135 if (cmd in attend or 135 if (cmd in attend or
136 (cmd not in ignore and not attend)): 136 (cmd not in ignore and not attend)):
137 usepager = True 137 usepager = True
138 break 138 break