Comments
Patch
@@ -981,20 +981,16 @@ def getchangegroup(repo, source, heads=N
The nodes in common might not all be known locally due to the way the
current discovery protocol works.
"""
outgoing = discovery.outgoingheadsandcommon(repo, heads, common)
return getlocalchangegroup(repo, source, outgoing, bundlecaps=bundlecaps,
version=version)
-def changegroup(repo, basenodes, source):
- # to avoid a race we use changegroupsubset() (issue1320)
- return changegroupsubset(repo, basenodes, repo.heads(), source)
-
def _addchangegroupfiles(repo, source, revmap, trp, expectedfiles, needfiles):
revisions = 0
files = 0
while True:
chunkdata = source.filelogheader()
if not chunkdata:
break
files += 1