branch | stable |
changeset 29089 | 222b8170d69e |
parent 28171 | 2d20d1d2ea76 |
child 30324 | cb1ea3cc44b5 |
--- a/mercurial/progress.py Thu May 05 16:29:31 2016 +0200 +++ b/mercurial/progress.py Fri May 06 17:53:06 2016 -0500 @@ -163,7 +163,7 @@ sys.stderr.flush() def clear(self): - if not shouldprint(self.ui): + if not self.printed or not self.lastprint or not shouldprint(self.ui): return sys.stderr.write('\r%s\r' % (' ' * self.width())) if self.printed: