--- a/mercurial/commands.py Wed Jul 01 15:14:59 2020 +0530
+++ b/mercurial/commands.py Thu Oct 15 15:57:36 2020 +0200
@@ -26,6 +26,7 @@
archival,
bookmarks,
bundle2,
+ bundlecaches,
changegroup,
cmdutil,
copies,
@@ -1544,7 +1545,9 @@
bundletype = opts.get(b'type', b'bzip2').lower()
try:
- bundlespec = exchange.parsebundlespec(repo, bundletype, strict=False)
+ bundlespec = bundlecaches.parsebundlespec(
+ repo, bundletype, strict=False
+ )
except error.UnsupportedBundleSpecification as e:
raise error.Abort(
pycompat.bytestr(e),