mercurial/templatekw.py
changeset 38555 f2f9bacf0587
parent 38519 4455e5d4d59c
child 38564 64f15e22f4f8
--- a/mercurial/templatekw.py	Mon Jul 02 11:14:13 2018 -0700
+++ b/mercurial/templatekw.py	Wed Jul 04 12:12:49 2018 -0700
@@ -465,7 +465,7 @@
     if mnode is None:
         # just avoid crash, we might want to use the 'ff...' hash in future
         return
-    mrev = repo.manifestlog._revlog.rev(mnode)
+    mrev = repo.manifestlog.rev(mnode)
     mhex = hex(mnode)
     mapping = context.overlaymap(mapping, {'rev': mrev, 'node': mhex})
     f = context.process('manifest', mapping)