mercurial/commandserver.py
changeset 29366 d269e7db2f55
parent 28511 ff5f923fca3c
child 29433 33770d2b6cf9
--- a/mercurial/commandserver.py	Sat Jun 11 10:17:49 2016 +0900
+++ b/mercurial/commandserver.py	Sun Jun 12 14:07:26 2016 +0900
@@ -229,12 +229,8 @@
             self.repo.ui = self.repo.dirstate._ui = repoui
             self.repo.invalidateall()
 
-        # reset last-print time of progress bar per command
-        # (progbar is singleton, we don't have to do for all uis)
-        if copiedui._progbar:
-            copiedui._progbar.resetstate()
-
         for ui in uis:
+            ui.resetstate()
             # any kind of interaction must use server channels, but chg may
             # replace channels by fully functional tty files. so nontty is
             # enforced only if cin is a channel.