mercurial/bundlerepo.py
changeset 51096 8ec2de9c6770
parent 51047 861fe9273d57
child 51403 68289ed170c7
--- a/mercurial/bundlerepo.py	Thu Oct 19 03:07:39 2023 +0200
+++ b/mercurial/bundlerepo.py	Thu Oct 19 03:33:59 2023 +0200
@@ -147,8 +147,11 @@
         iterrev = rev
         # reconstruct the revision if it is from a changegroup
         while iterrev > self.repotiprev:
-            if self._revisioncache and self._revisioncache[1] == iterrev:
-                rawtext = self._revisioncache[2]
+            if (
+                self._inner._revisioncache
+                and self._inner._revisioncache[1] == iterrev
+            ):
+                rawtext = self._inner._revisioncache[2]
                 break
             chain.append(iterrev)
             iterrev = self.index[iterrev][3]