Mercurial > hg
view tests/missing-comment.hg @ 28270:650c9f69a744
templatekw: switch ctx of list expression to rev of {parents} (BC)
This is the same semantics as revset() introduced at e4609ec959f8. Before
this patch, {parents} provided nothing useful in new-style template. For
example, '{parents % "{parent}"}' generated cryptic string like
"rev12345node0123abcdef...".
This patch drops {parent} variable since it was useless. We can get a revision
number by '{parents % "{rev}"}'.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Fri, 12 Feb 2016 19:16:09 +0900 |
parents | 168cc52ad7c2 |
children |