revlog: remove stray test in rev()
authorMatt Mackall <mpm@selenic.com>
Fri, 21 Jan 2011 16:26:01 -0600
changeset 13284 77351c88dd10
parent 13283 a3e834a9e9c4
child 13286 189edd1b15fb
revlog: remove stray test in rev()
mercurial/revlog.py
--- a/mercurial/revlog.py	Thu Jan 20 20:35:54 2011 +0100
+++ b/mercurial/revlog.py	Fri Jan 21 16:26:01 2011 -0600
@@ -295,8 +295,6 @@
             return self._nodecache[node]
         except KeyError:
             n = self._nodecache
-            if node in n:
-                return n[node]
             i = self.index
             p = self._nodepos
             if p is None: