shelve: remove a bundlerepo method
authorMartin von Zweigbergk <martinvonz@google.com>
Thu, 07 Jan 2021 12:37:14 -0800
changeset 46269 44556639f14a
parent 46268 832a6a2efe4f
child 46270 161313f9c467
shelve: remove a bundlerepo method It was added in 43816070284e (shelve: add a bundlerepo method, 2014-10-10), but I haven't been able to find a place it was used. Differential Revision: https://phab.mercurial-scm.org/D9696
mercurial/shelve.py
--- a/mercurial/shelve.py	Fri Jan 08 16:38:41 2021 -0800
+++ b/mercurial/shelve.py	Thu Jan 07 12:37:14 2021 -0800
@@ -38,7 +38,6 @@
 from . import (
     bookmarks,
     bundle2,
-    bundlerepo,
     changegroup,
     cmdutil,
     discovery,
@@ -149,12 +148,6 @@
         finally:
             fp.close()
 
-    def bundlerepo(self):
-        path = self.vfs.join(self.fname)
-        return bundlerepo.instance(
-            self.repo.baseui, b'bundle://%s+%s' % (self.repo.root, path), False
-        )
-
     def writebundle(self, bases, node):
         cgversion = changegroup.safeversion(self.repo)
         if cgversion == b'01':