diff --git a/mercurial/bundlerepo.py b/mercurial/bundlerepo.py --- a/mercurial/bundlerepo.py +++ b/mercurial/bundlerepo.py @@ -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."""