comparison hgext3rd/topic/stack.py @ 4654:0d05dcb8dd37

stack: provide context to formatter with non-default --template This allows using template keywords that we don't explicitly provide to the formatter, e.g. rev, branch and topic.
author Anton Shestakov <av6@dwimlabs.net>
date Fri, 17 May 2019 17:59:58 +0800
parents fd4f422b0b57
children bb0a5beb0ad8
comparison
equal deleted inserted replaced
4653:fd4f422b0b57 4654:0d05dcb8dd37
352 states.append('clean') 352 states.append('clean')
353 353
354 states.sort() 354 states.sort()
355 355
356 fm.startitem() 356 fm.startitem()
357 fm.context(ctx=ctx)
357 fm.data(isentry=isentry) 358 fm.data(isentry=isentry)
358 359
359 if idx is None: 360 if idx is None:
360 fm.plain(' ') 361 fm.plain(' ')
361 if ui.verbose: 362 if ui.verbose: