bundlerepo: use super() when calling file()
We should be calling the default method, not reimplementing it.
Differential Revision: https://phab.mercurial-scm.org/D3058
--- 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."""