mercurial/revlog.py
changeset 22282 4092d12ba18a
parent 21752 e250a482478e
child 22381 392ae5cb8d62
--- a/mercurial/revlog.py	Fri Aug 22 16:40:34 2014 -0400
+++ b/mercurial/revlog.py	Tue Aug 26 13:11:53 2014 +0200
@@ -306,6 +306,8 @@
     def rev(self, node):
         try:
             return self._nodecache[node]
+        except TypeError:
+            raise
         except RevlogError:
             # parsers.c radix tree lookup failed
             raise LookupError(node, self.indexfile, _('no node'))