equal
deleted
inserted
replaced
1172 # for the whole processing scope. |
1172 # for the whole processing scope. |
1173 op.gettransaction() |
1173 op.gettransaction() |
1174 unpackerversion = inpart.params.get('version', '01') |
1174 unpackerversion = inpart.params.get('version', '01') |
1175 # We should raise an appropriate exception here |
1175 # We should raise an appropriate exception here |
1176 unpacker = changegroup.packermap[unpackerversion][1] |
1176 unpacker = changegroup.packermap[unpackerversion][1] |
1177 cg = unpacker(inpart, 'UN') |
1177 cg = unpacker(inpart, None) |
1178 # the source and url passed here are overwritten by the one contained in |
1178 # the source and url passed here are overwritten by the one contained in |
1179 # the transaction.hookargs argument. So 'bundle2' is a placeholder |
1179 # the transaction.hookargs argument. So 'bundle2' is a placeholder |
1180 nbchangesets = None |
1180 nbchangesets = None |
1181 if 'nbchanges' in inpart.params: |
1181 if 'nbchanges' in inpart.params: |
1182 nbchangesets = int(inpart.params.get('nbchanges')) |
1182 nbchangesets = int(inpart.params.get('nbchanges')) |