##// END OF EJS Templates
changegroup: stop returning and recording added nodes in 'cg.apply'...
Boris Feld -
r33461:bb72031f default
parent child Browse files
Show More
@@ -403,10 +403,9 b' def processbundle(repo, unbundler, trans'
403 return op
403 return op
404
404
405 def _processchangegroup(op, cg, tr, source, url, **kwargs):
405 def _processchangegroup(op, cg, tr, source, url, **kwargs):
406 ret, addednodes = cg.apply(op.repo, tr, source, url, **kwargs)
406 ret = cg.apply(op.repo, tr, source, url, **kwargs)
407 op.records.add('changegroup', {
407 op.records.add('changegroup', {
408 'return': ret,
408 'return': ret,
409 'addednodes': addednodes,
410 })
409 })
411 return ret
410 return ret
412
411
@@ -412,7 +412,7 b' class cg1unpacker(object):'
412 ret = deltaheads - 1
412 ret = deltaheads - 1
413 else:
413 else:
414 ret = deltaheads + 1
414 ret = deltaheads + 1
415 return ret, added
415 return ret
416
416
417 class cg2unpacker(cg1unpacker):
417 class cg2unpacker(cg1unpacker):
418 """Unpacker for cg2 streams.
418 """Unpacker for cg2 streams.
General Comments 0
You need to be logged in to leave comments. Login now