Skip to content
Snippets Groups Projects
Commit 6a854f55 authored by Gregory Szorc's avatar Gregory Szorc
Browse files

exchange: document filterclonebundleentries

parent 3e7f6756
No related branches found
No related tags found
No related merge requests found
......@@ -1677,6 +1677,15 @@
return m
def filterclonebundleentries(repo, entries):
"""Remove incompatible clone bundle manifest entries.
Accepts a list of entries parsed with ``parseclonebundlesmanifest``
and returns a new list consisting of only the entries that this client
should be able to apply.
There is no guarantee we'll be able to apply all returned entries because
the metadata we use to filter on may be missing or wrong.
"""
newentries = []
for entry in entries:
spec = entry.get('BUNDLESPEC')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment