Show More
@@ -325,10 +325,8 b' def processbundle(repo, unbundler, trans' | |||
|
325 | 325 | if output is not None: |
|
326 | 326 | output = op.ui.popbuffer() |
|
327 | 327 | if output: |
|
328 | op.reply.newpart('b2x:output', | |
|
329 | advisoryparams=[('in-reply-to', | |
|
330 | str(part.id))], | |
|
331 | data=output) | |
|
328 | outpart = op.reply.newpart('b2x:output', data=output) | |
|
329 | outpart.addparam('in-reply-to', str(part.id), mandatory=False) | |
|
332 | 330 | part.read() |
|
333 | 331 | except Exception, exc: |
|
334 | 332 | if part is not None: |
@@ -769,9 +767,9 b' def handlechangegroup(op, inpart):' | |||
|
769 | 767 | if op.reply is not None: |
|
770 | 768 | # This is definitly not the final form of this |
|
771 | 769 | # return. But one need to start somewhere. |
|
772 |
op.reply.newpart('b2x:reply:changegroup' |
|
|
773 |
|
|
|
774 | ('return', '%i' % ret)]) | |
|
770 | part = op.reply.newpart('b2x:reply:changegroup') | |
|
771 | part.addparam('in-reply-to', str(inpart.id), mandatory=False) | |
|
772 | part.addparam('return', '%i' % ret, mandatory=False) | |
|
775 | 773 | assert not inpart.read() |
|
776 | 774 | |
|
777 | 775 | @parthandler('b2x:reply:changegroup') |
General Comments 0
You need to be logged in to leave comments.
Login now