Mercurial > hg
comparison mercurial/txnutil.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 | 206532700213 |
children | 2372284d9457 |
comparison
equal
deleted
inserted
replaced
31806:8f203b491bb5 | 31807:e6eb86b154c5 |
---|