changeset 13284:77351c88dd10

revlog: remove stray test in rev()
author Matt Mackall <mpm@selenic.com>
date Fri, 21 Jan 2011 16:26:01 -0600
parents a3e834a9e9c4
children 189edd1b15fb
files mercurial/revlog.py
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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: