mercurial/templatekw.py
changeset 30375 11b8b740d54a
parent 30088 d1f5f158768e
child 30712 5dde81de1e6d
--- 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):