diff -r f2d146d1e8d6 -r 11b8b740d54a mercurial/templatekw.py --- a/mercurial/templatekw.py Fri Nov 11 01:20:13 2016 -0800 +++ b/mercurial/templatekw.py Thu Nov 10 02:13:19 2016 -0800 @@ -458,7 +458,8 @@ # just avoid crash, we might want to use the 'ff...' hash in future return args = args.copy() - args.update({'rev': repo.manifest.rev(mnode), 'node': hex(mnode)}) + args.update({'rev': repo.manifestlog._revlog.rev(mnode), + 'node': hex(mnode)}) return templ('manifest', **args) def shownames(namespace, **args):