mercurial/progress.py
changeset 26407 72bccc1f26b1
parent 25968 1139d7cf9405
child 26781 1aee2ab0f902
--- a/mercurial/progress.py	Tue Sep 29 14:08:37 2015 -0500
+++ b/mercurial/progress.py	Sat Sep 26 00:10:48 2015 -0400
@@ -166,6 +166,9 @@
         if not shouldprint(self.ui):
             return
         sys.stderr.write('\r%s\r' % (' ' * self.width()))
+        if self.printed:
+            # force immediate re-paint of progress bar
+            self.lastprint = 0
 
     def complete(self):
         if not shouldprint(self.ui):