equal
deleted
inserted
replaced
1094 if bundler.nbparts <= 1: |
1094 if bundler.nbparts <= 1: |
1095 return |
1095 return |
1096 stream = util.chunkbuffer(bundler.getchunks()) |
1096 stream = util.chunkbuffer(bundler.getchunks()) |
1097 try: |
1097 try: |
1098 try: |
1098 try: |
1099 reply = pushop.remote.unbundle( |
1099 with pushop.remote.commandexecutor() as e: |
1100 stream, ['force'], pushop.remote.url()) |
1100 reply = e.callcommand('unbundle', { |
|
1101 'bundle': stream, |
|
1102 'heads': ['force'], |
|
1103 'url': pushop.remote.url(), |
|
1104 }).result() |
1101 except error.BundleValueError as exc: |
1105 except error.BundleValueError as exc: |
1102 raise error.Abort(_('missing support for %s') % exc) |
1106 raise error.Abort(_('missing support for %s') % exc) |
1103 try: |
1107 try: |
1104 trgetter = None |
1108 trgetter = None |
1105 if pushback: |
1109 if pushback: |