--- a/mercurial/revlog.py Fri Jun 10 00:25:04 2005 -0800 +++ b/mercurial/revlog.py Fri Jun 10 00:26:29 2005 -0800 @@ -246,6 +246,9 @@ node = hash(text, p1, p2) + if node in self.nodemap: + return node + n = self.count() t = n - 1