diff mercurial/exchange.py @ 50699:2aaabd8f4471

clone-bundle: rename the methods and wireprotole command The current naming is very clone centric, since then, the url scheme was moved to a more generic wording to make room for other use-cases (e.g. pull bundles). We apply the same logic to the internal API and, very important prior to the release, to the wire protocol command.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Mon, 19 Jun 2023 11:04:27 +0200
parents 60f9602b413e
children 7752cf4f64cc b5d494f7d28a
line wrap: on
line diff
--- a/mercurial/exchange.py	Sun Jun 18 00:04:53 2023 +0200
+++ b/mercurial/exchange.py	Mon Jun 19 11:04:27 2023 +0200
@@ -2859,7 +2859,7 @@
     if not peer:
         raise error.Abort(_(b'no remote repository supplied for %s' % url))
     clonebundleid = url[len(bundlecaches.CLONEBUNDLESCHEME) :]
-    peerclonebundle = peer.get_inline_clone_bundle(clonebundleid)
+    peerclonebundle = peer.get_cached_bundle_inline(clonebundleid)
     return util.chunkbuffer(peerclonebundle)