diff -r 57782791b7e9 -r 293835e0fff7 mercurial/wireprotov2server.py --- a/mercurial/wireprotov2server.py Thu Oct 04 16:44:21 2018 -0700 +++ b/mercurial/wireprotov2server.py Thu Oct 04 17:17:57 2018 -0700 @@ -156,7 +156,7 @@ # We assume we have a unified framing protocol request body. - reactor = wireprotoframing.serverreactor() + reactor = wireprotoframing.serverreactor(ui) states = [] while True: @@ -191,7 +191,7 @@ # TODO Some HTTP clients are full duplex and can receive data before # the entire request is transmitted. Figure out a way to indicate support # for that so we can opt into full duplex mode. - reactor = wireprotoframing.serverreactor(deferoutput=True) + reactor = wireprotoframing.serverreactor(ui, deferoutput=True) seencommand = False outstream = reactor.makeoutputstream()