changeset 28177 | ab8107c923b4 |
parent 27894 | a94f7eef3199 |
child 28178 | 96f2d50fb9f6 |
--- a/mercurial/templatekw.py Sat Feb 06 19:16:12 2016 +0900 +++ b/mercurial/templatekw.py Fri Feb 12 18:08:53 2016 +0900 @@ -492,7 +492,7 @@ repo = args['ctx'].repo() f = _showlist(name, revs, **args) return _hybrid(f, revs, - lambda x: {name: x, 'ctx': repo[x], 'revcache': {}}) + lambda x: {name: x, 'ctx': repo[int(x)], 'revcache': {}}) def showsubrepos(**args): """:subrepos: List of strings. Updated subrepositories in the changeset."""