##// END OF EJS Templates
changegroup: rename _computeoutgoing to computeoutgoing...
Gregory Szorc -
r25400:7759dc97 default
parent child Browse files
Show More
@@ -615,7 +615,7 b' def getlocalchangegroup(repo, source, ou'
615 bundler = cg1packer(repo, bundlecaps)
615 bundler = cg1packer(repo, bundlecaps)
616 return getsubset(repo, outgoing, bundler, source)
616 return getsubset(repo, outgoing, bundler, source)
617
617
618 def _computeoutgoing(repo, heads, common):
618 def computeoutgoing(repo, heads, common):
619 """Computes which revs are outgoing given a set of common
619 """Computes which revs are outgoing given a set of common
620 and a set of heads.
620 and a set of heads.
621
621
@@ -646,7 +646,7 b' def getchangegroupraw(repo, source, head'
646 The nodes in common might not all be known locally due to the way the
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.
647 current discovery protocol works. Returns a raw changegroup generator.
648 """
648 """
649 outgoing = _computeoutgoing(repo, heads, common)
649 outgoing = computeoutgoing(repo, heads, common)
650 return getlocalchangegroupraw(repo, source, outgoing, bundlecaps=bundlecaps,
650 return getlocalchangegroupraw(repo, source, outgoing, bundlecaps=bundlecaps,
651 version=version)
651 version=version)
652
652
@@ -659,7 +659,7 b' def getchangegroup(repo, source, heads=N'
659 The nodes in common might not all be known locally due to the way the
659 The nodes in common might not all be known locally due to the way the
660 current discovery protocol works.
660 current discovery protocol works.
661 """
661 """
662 outgoing = _computeoutgoing(repo, heads, common)
662 outgoing = computeoutgoing(repo, heads, common)
663 return getlocalchangegroup(repo, source, outgoing, bundlecaps=bundlecaps)
663 return getlocalchangegroup(repo, source, outgoing, bundlecaps=bundlecaps)
664
664
665 def changegroup(repo, basenodes, source):
665 def changegroup(repo, basenodes, source):
General Comments 0
You need to be logged in to leave comments. Login now