[Updated] D9696: shelve: remove a bundlerepo method

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Sat Jan 16 10:56:27 UTC 2021


Closed by commit rHG3c6f1da0a28d: shelve: remove a bundlerepo method (authored by martinvonz).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D9696?vs=24652&id=24931

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D9696/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D9696

AFFECTED FILES
  mercurial/shelve.py

CHANGE DETAILS

diff --git a/mercurial/shelve.py b/mercurial/shelve.py
--- a/mercurial/shelve.py
+++ b/mercurial/shelve.py
@@ -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':



To: martinvonz, #hg-reviewers, pulkit
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20210116/ecf184b2/attachment-0002.html>


More information about the Mercurial-patches mailing list