Mercurial > hg
changeset 46269:44556639f14a
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
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Thu, 07 Jan 2021 12:37:14 -0800 |
parents | 832a6a2efe4f |
children | 161313f9c467 |
files | mercurial/shelve.py |
diffstat | 1 files changed, 0 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- 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':