# HG changeset patch # User Matt Mackall # Date 1295648761 21600 # Node ID 77351c88dd1098476c587d8fbf535963c42f809e # Parent a3e834a9e9c47c02caf2db526dbde4514225c934 revlog: remove stray test in rev() diff -r a3e834a9e9c4 -r 77351c88dd10 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: