equal
deleted
inserted
replaced
818 # |
818 # |
819 # The addchangegroup function will get a transaction object by itself, but |
819 # The addchangegroup function will get a transaction object by itself, but |
820 # we need to make sure we trigger the creation of a transaction object used |
820 # we need to make sure we trigger the creation of a transaction object used |
821 # for the whole processing scope. |
821 # for the whole processing scope. |
822 op.gettransaction() |
822 op.gettransaction() |
823 cg = changegroup.unbundle10(inpart, 'UN') |
823 cg = changegroup.cg1unpacker(inpart, 'UN') |
824 ret = changegroup.addchangegroup(op.repo, cg, 'bundle2', 'bundle2') |
824 ret = changegroup.addchangegroup(op.repo, cg, 'bundle2', 'bundle2') |
825 op.records.add('changegroup', {'return': ret}) |
825 op.records.add('changegroup', {'return': ret}) |
826 if op.reply is not None: |
826 if op.reply is not None: |
827 # This is definitly not the final form of this |
827 # This is definitly not the final form of this |
828 # return. But one need to start somewhere. |
828 # return. But one need to start somewhere. |