changeset 2129:e5f5c21f4169

cached data was wrong: rev is different from self.rev(node) in bundlerepo.py
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Tue, 25 Apr 2006 23:28:40 +0200
parents 150208e0d94b
children 90ee844b9f71 9b42304d9896
files mercurial/bundlerepo.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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):