cached data was wrong: rev is different from self.rev(node) in bundlerepo.py
authorBenoit Boissinot <benoit.boissinot@ens-lyon.org>
Tue, 25 Apr 2006 23:28:40 +0200
changeset 2129 e5f5c21f4169
parent 2128 150208e0d94b
child 2130 90ee844b9f71
child 2176 9b42304d9896
cached data was wrong: rev is different from self.rev(node) in bundlerepo.py
mercurial/bundlerepo.py
--- a/mercurial/bundlerepo.py	Tue Apr 25 19:38:45 2006 +0200
+++ b/mercurial/bundlerepo.py	Tue Apr 25 23:28:40 2006 +0200
@@ -126,7 +126,7 @@
             raise RevlogError(_("integrity check failed on %s:%d")
                           % (self.datafile, self.rev(node)))
 
-        self.cache = (node, rev, text)
+        self.cache = (node, self.rev(node), text)
         return text
 
     def addrevision(self, text, transaction, link, p1=None, p2=None, d=None):