D3058: bundlerepo: use super() when calling file()
indygreg (Gregory Szorc)
phabricator at mercurial-scm.org
Wed Apr 4 14:25:40 EDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGc68262401c8c: bundlerepo: use super() when calling file() (authored by indygreg, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D3058?vs=7601&id=7626
REVISION DETAIL
https://phab.mercurial-scm.org/D3058
AFFECTED FILES
mercurial/bundlerepo.py
CHANGE DETAILS
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."""
To: indygreg, #hg-reviewers, durin42
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list