##// END OF EJS Templates
changegroup: remove 'getchangegroupraw' function...
Pierre-Yves David -
r25505:19717d3c default
parent child Browse files
Show More
@@ -634,22 +634,6 b' def computeoutgoing(repo, heads, common)'
634 heads = cl.heads()
634 heads = cl.heads()
635 return discovery.outgoing(cl, common, heads)
635 return discovery.outgoing(cl, common, heads)
636
636
637 def getchangegroupraw(repo, source, heads=None, common=None, bundlecaps=None,
638 version='01'):
639 """Like changegroupsubset, but returns the set difference between the
640 ancestors of heads and the ancestors common.
641
642 If heads is None, use the local heads. If common is None, use [nullid].
643
644 If version is None, use a version '1' changegroup.
645
646 The nodes in common might not all be known locally due to the way the
647 current discovery protocol works. Returns a raw changegroup generator.
648 """
649 outgoing = computeoutgoing(repo, heads, common)
650 return getlocalchangegroupraw(repo, source, outgoing, bundlecaps=bundlecaps,
651 version=version)
652
653 def getchangegroup(repo, source, heads=None, common=None, bundlecaps=None):
637 def getchangegroup(repo, source, heads=None, common=None, bundlecaps=None):
654 """Like changegroupsubset, but returns the set difference between the
638 """Like changegroupsubset, but returns the set difference between the
655 ancestors of heads and the ancestors common.
639 ancestors of heads and the ancestors common.
General Comments 0
You need to be logged in to leave comments. Login now