mercurial/ui.py
changeset 35889 e49c39ffeac2
parent 35373 4e377c43e80b
child 35897 4b1c04082cdc
--- a/mercurial/ui.py	Sun Jan 21 13:03:03 2018 +0900
+++ b/mercurial/ui.py	Thu Jan 25 20:00:58 2018 +0100
@@ -916,8 +916,7 @@
         # opencode timeblockedsection because this is a critical path
         starttime = util.timer()
         try:
-            for a in msgs:
-                self.fout.write(a)
+            self.fout.write(''.join(msgs))
         except IOError as err:
             raise error.StdioError(err)
         finally: