Show More
@@ -645,7 +645,8 b' def computeoutgoing(repo, heads, common)' | |||||
645 | heads = cl.heads() |
|
645 | heads = cl.heads() | |
646 | return discovery.outgoing(cl, common, heads) |
|
646 | return discovery.outgoing(cl, common, heads) | |
647 |
|
647 | |||
648 |
def getchangegroup(repo, source, heads=None, common=None, bundlecaps=None |
|
648 | def getchangegroup(repo, source, heads=None, common=None, bundlecaps=None, | |
|
649 | version='01'): | |||
649 | """Like changegroupsubset, but returns the set difference between the |
|
650 | """Like changegroupsubset, but returns the set difference between the | |
650 | ancestors of heads and the ancestors common. |
|
651 | ancestors of heads and the ancestors common. | |
651 |
|
652 | |||
@@ -655,7 +656,8 b' def getchangegroup(repo, source, heads=N' | |||||
655 | current discovery protocol works. |
|
656 | current discovery protocol works. | |
656 | """ |
|
657 | """ | |
657 | outgoing = computeoutgoing(repo, heads, common) |
|
658 | outgoing = computeoutgoing(repo, heads, common) | |
658 |
return getlocalchangegroup(repo, source, outgoing, bundlecaps=bundlecaps |
|
659 | return getlocalchangegroup(repo, source, outgoing, bundlecaps=bundlecaps, | |
|
660 | version=version) | |||
659 |
|
661 | |||
660 | def changegroup(repo, basenodes, source): |
|
662 | def changegroup(repo, basenodes, source): | |
661 | # to avoid a race we use changegroupsubset() (issue1320) |
|
663 | # to avoid a race we use changegroupsubset() (issue1320) |
General Comments 0
You need to be logged in to leave comments.
Login now