Mercurial > public > mercurial-scm > hg
comparison mercurial/localrepo.py @ 50696: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 | 5d84b1385f7f |
children | f0ae403bf704 |
comparison
equal
deleted
inserted
replaced
50695:f1b57672cb94 | 50696:2aaabd8f4471 |
---|---|
346 return self._repo.branchmap() | 346 return self._repo.branchmap() |
347 | 347 |
348 def capabilities(self): | 348 def capabilities(self): |
349 return self._caps | 349 return self._caps |
350 | 350 |
351 def get_inline_clone_bundle(self, path): | 351 def get_cached_bundle_inline(self, path): |
352 # not needed with local peer | 352 # not needed with local peer |
353 raise NotImplementedError | 353 raise NotImplementedError |
354 | 354 |
355 def clonebundles(self): | 355 def clonebundles(self): |
356 return bundlecaches.get_manifest(self._repo) | 356 return bundlecaches.get_manifest(self._repo) |