equal
deleted
inserted
replaced
637 # |
637 # |
638 # The addchangegroup function will get a transaction object by itself, but |
638 # The addchangegroup function will get a transaction object by itself, but |
639 # we need to make sure we trigger the creation of a transaction object used |
639 # we need to make sure we trigger the creation of a transaction object used |
640 # for the whole processing scope. |
640 # for the whole processing scope. |
641 op.gettransaction() |
641 op.gettransaction() |
642 cg = changegroup.readbundle(inpart, 'bundle2part') |
642 cg = changegroup.unbundle10(inpart, 'UN') |
643 ret = changegroup.addchangegroup(op.repo, cg, 'bundle2', 'bundle2') |
643 ret = changegroup.addchangegroup(op.repo, cg, 'bundle2', 'bundle2') |
644 op.records.add('changegroup', {'return': ret}) |
644 op.records.add('changegroup', {'return': ret}) |
645 if op.reply is not None: |
645 if op.reply is not None: |
646 # This is definitly not the final form of this |
646 # This is definitly not the final form of this |
647 # return. But one need to start somewhere. |
647 # return. But one need to start somewhere. |