D7784: progress: flush stderr after clearing

spectral (Kyle Lippincott) phabricator at mercurial-scm.org
Wed Jan 8 14:54:21 EST 2020


Closed by commit rHG4e0a6d157910: progress: flush stderr after clearing (authored by spectral).
This revision was automatically updated to reflect the committed changes.
This revision was not accepted when it landed; it landed in state "Needs Review".

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D7784?vs=19032&id=19107

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7784/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D7784

AFFECTED FILES
  mercurial/progress.py

CHANGE DETAILS

diff --git a/mercurial/progress.py b/mercurial/progress.py
--- a/mercurial/progress.py
+++ b/mercurial/progress.py
@@ -193,6 +193,7 @@
         if not self.printed or not self.lastprint or not shouldprint(self.ui):
             return
         self._writeerr(b'\r%s\r' % (b' ' * self.width()))
+        self._flusherr()
         if self.printed:
             # force immediate re-paint of progress bar
             self.lastprint = 0



To: spectral, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list