Mercurial > hg
diff mercurial/httppeer.py @ 25740:47469fa8fb01
templatekw: make {rev} return wdirrev instead of None
wdirrev/wdirnode identifiers are still experimental, but {node} is mapped to
wdirnode. So {rev} should do the same for consistency.
I'm not sure if templatekw can import scmutil. If not, we should move intrev()
to node module.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Thu, 02 Jul 2015 22:18:21 +0900 |
parents | 328739ea70c3 |
children | 7bbdb78d2842 |