mercurial/bundlerepo.py
changeset 28186 5ab6f0fde75f
parent 27953 88609cfa3745
child 28221 7a8c44844f57
--- a/mercurial/bundlerepo.py	Wed Feb 17 22:45:01 2016 +0100
+++ b/mercurial/bundlerepo.py	Mon Feb 22 18:35:40 2016 +0100
@@ -362,7 +362,8 @@
 
         if f in self.bundlefilespos:
             self.bundle.seek(self.bundlefilespos[f])
-            return bundlefilelog(self.svfs, f, self.bundle, self.changelog.rev)
+            linkmapper = self.unfiltered().changelog.rev
+            return bundlefilelog(self.svfs, f, self.bundle, linkmapper)
         else:
             return filelog.filelog(self.svfs, f)