mercurial/wireproto.py
changeset 36991 d683c7367989
parent 36945 4901d1e22b27
child 37053 cd0ca979a8b8
--- a/mercurial/wireproto.py	Sun Mar 18 15:32:49 2018 -0400
+++ b/mercurial/wireproto.py	Sat Mar 10 23:58:01 2018 -0500
@@ -1077,6 +1077,7 @@
                     util.stderr.write("abort: %s\n" % exc)
                     if exc.hint is not None:
                         util.stderr.write("(%s)\n" % exc.hint)
+                    util.stderr.flush()
                     return pushres(0, output.getvalue() if output else '')
                 except error.PushRaced:
                     return pusherr(pycompat.bytestr(exc),