changeset 29366 | d269e7db2f55 |
parent 29109 | e9ce33c642e8 |
child 29378 | fea71f66ebff |
--- a/mercurial/ui.py Sat Jun 11 10:17:49 2016 +0900 +++ b/mercurial/ui.py Sun Jun 12 14:07:26 2016 +0900 @@ -138,6 +138,11 @@ def copy(self): return self.__class__(self) + def resetstate(self): + """Clear internal state that shouldn't persist across commands""" + if self._progbar: + self._progbar.resetstate() # reset last-print time of progress bar + def formatter(self, topic, opts): return formatter.formatter(self, topic, opts)