##// END OF EJS Templates
changegroup: add source parameter to generatemanifests...
Durham Goode -
r34148:75cc1f1e default
parent child Browse files
Show More
@@ -662,7 +662,7 b' class cg1packer(object):'
662 662 'treemanifest' not in repo.requirements)
663 663
664 664 for chunk in self.generatemanifests(commonrevs, clrevorder,
665 fastpathlinkrev, mfs, fnodes):
665 fastpathlinkrev, mfs, fnodes, source):
666 666 yield chunk
667 667 mfs.clear()
668 668 clrevs = set(cl.rev(x) for x in clnodes)
@@ -688,7 +688,12 b' class cg1packer(object):'
688 688 repo.hook('outgoing', node=hex(clnodes[0]), source=source)
689 689
690 690 def generatemanifests(self, commonrevs, clrevorder, fastpathlinkrev, mfs,
691 fnodes):
691 fnodes, source):
692 """Returns an iterator of changegroup chunks containing manifests.
693
694 `source` is unused here, but is used by extensions like remotefilelog to
695 change what is sent based in pulls vs pushes, etc.
696 """
692 697 repo = self._repo
693 698 mfl = repo.manifestlog
694 699 dirlog = mfl._revlog.dirlog
General Comments 0
You need to be logged in to leave comments. Login now