comparison mercurial/bundle2.py @ 31807:e6eb86b154c5

templater: provide loop counter as "index" keyword This was originally written for JSON templating where we would have to be careful to not add extra comma, but seems generally useful. Inner loop started by % operator has its own counter.
author Yuya Nishihara <yuya@tcha.org>
date Fri, 22 Apr 2016 21:46:33 +0900
parents 4dbef666c6c9
children 6d055cd6669f
comparison
equal deleted inserted replaced
31806:8f203b491bb5 31807:e6eb86b154c5