changeset 32911 | 7f1d07d2c8f8 |
parent 32910 | 498e9dcc5fa9 |
child 32970 | 11c0bb4ccc76 |
--- a/mercurial/templatekw.py Sat Jun 17 13:23:55 2017 +0900 +++ b/mercurial/templatekw.py Sat Jun 17 13:34:18 2017 +0900 @@ -570,7 +570,7 @@ return _hybrid(None, predecessors, lambda x: {'ctx': repo[x], 'revcache': {}}, - lambda d: short(scmutil.binnode(d['ctx']))) + lambda d: _formatrevnode(d['ctx'])) @templatekeyword('p1rev') def showp1rev(repo, ctx, templ, **args):