index: use `index.rev` in `revlog.rev`
Differential Revision: https://phab.mercurial-scm.org/D7325
--- a/mercurial/revlog.py Sat Nov 09 13:23:51 2019 +0100
+++ b/mercurial/revlog.py Sat Nov 09 13:23:51 2019 +0100
@@ -687,7 +687,7 @@
def rev(self, node):
try:
- return self.index.nodemap[node]
+ return self.index.rev(node)
except TypeError:
raise
except error.RevlogError: