##// END OF EJS Templates
bundle2: move part processing to a separate function...
Durham Goode -
r34262:f010097c default
parent child Browse files
Show More
@@ -447,12 +447,15 b' def processbundle(repo, unbundler, trans'
447 msg.append('\n')
447 msg.append('\n')
448 repo.ui.debug(''.join(msg))
448 repo.ui.debug(''.join(msg))
449
449
450 processparts(repo, op, unbundler)
451
452 return op
453
454 def processparts(repo, op, unbundler):
450 with partiterator(repo, op, unbundler) as parts:
455 with partiterator(repo, op, unbundler) as parts:
451 for part in parts:
456 for part in parts:
452 _processpart(op, part)
457 _processpart(op, part)
453
458
454 return op
455
456 def _processchangegroup(op, cg, tr, source, url, **kwargs):
459 def _processchangegroup(op, cg, tr, source, url, **kwargs):
457 ret = cg.apply(op.repo, tr, source, url, **kwargs)
460 ret = cg.apply(op.repo, tr, source, url, **kwargs)
458 op.records.add('changegroup', {
461 op.records.add('changegroup', {
General Comments 0
You need to be logged in to leave comments. Login now