diff -r 90fb0193f187 -r 0bb3089fe735 mercurial/ui.py --- a/mercurial/ui.py Sat Feb 18 17:37:52 2017 +0900 +++ b/mercurial/ui.py Sat Feb 25 14:09:55 2017 +0900 @@ -821,15 +821,15 @@ self._write(*msgs, **opts) def _write(self, *msgs, **opts): - self._progclear() - # opencode timeblockedsection because this is a critical path - starttime = util.timer() - try: - for a in msgs: - self.fout.write(a) - finally: - self._blockedtimes['stdio_blocked'] += \ - (util.timer() - starttime) * 1000 + self._progclear() + # opencode timeblockedsection because this is a critical path + starttime = util.timer() + try: + for a in msgs: + self.fout.write(a) + finally: + self._blockedtimes['stdio_blocked'] += \ + (util.timer() - starttime) * 1000 def write_err(self, *args, **opts): self._progclear()