##// END OF EJS Templates
exchange: document filterclonebundleentries
Gregory Szorc -
r26687:6a854f55 default
parent child Browse files
Show More
@@ -1677,6 +1677,15 b' def parseclonebundlesmanifest(repo, s):'
1677 return m
1677 return m
1678
1678
1679 def filterclonebundleentries(repo, entries):
1679 def filterclonebundleentries(repo, entries):
1680 """Remove incompatible clone bundle manifest entries.
1681
1682 Accepts a list of entries parsed with ``parseclonebundlesmanifest``
1683 and returns a new list consisting of only the entries that this client
1684 should be able to apply.
1685
1686 There is no guarantee we'll be able to apply all returned entries because
1687 the metadata we use to filter on may be missing or wrong.
1688 """
1680 newentries = []
1689 newentries = []
1681 for entry in entries:
1690 for entry in entries:
1682 spec = entry.get('BUNDLESPEC')
1691 spec = entry.get('BUNDLESPEC')
General Comments 0
You need to be logged in to leave comments. Login now