diff --git a/mercurial/revlog.py b/mercurial/revlog.py --- a/mercurial/revlog.py +++ b/mercurial/revlog.py @@ -941,6 +941,7 @@ class revlog: self.index.update_nodemap_data(*nodemap_data) def rev(self, node): + """return the revision number associated with a """ try: return self.index.rev(node) except TypeError: