diff -r db06c4bb2158 -r c68262401c8c mercurial/bundlerepo.py --- a/mercurial/bundlerepo.py Tue Apr 03 18:20:10 2018 -0700 +++ b/mercurial/bundlerepo.py Tue Apr 03 13:16:12 2018 -0700 @@ -420,7 +420,7 @@ linkmapper = self.unfiltered().changelog.rev return bundlefilelog(self.svfs, f, self._cgunpacker, linkmapper) else: - return filelog.filelog(self.svfs, f) + return super(bundlerepository, self).file(f) def close(self): """Close assigned bundle file immediately."""