Patchwork D3058: bundlerepo: use super() when calling file()

login
register
mail settings
Submitter phabricator
Date April 4, 2018, 6:25 p.m.
Message ID <a8f0cf8012738a087bd1a1e4d0b687b1@localhost.localdomain>
Download mbox | patch
Permalink /patch/30268/
State Not Applicable
Headers show

Comments

phabricator - April 4, 2018, 6:25 p.m.
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




To: indygreg, #hg-reviewers, durin42
Cc: mercurial-devel

Patch

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."""