diff --git a/hgext/progress.py b/hgext/progress.py --- a/hgext/progress.py +++ b/hgext/progress.py @@ -156,7 +156,8 @@ class progbar(object): if topic not in self.topics: self.topics.append(topic) now = time.time() - if now - self.lastprint > self.refresh and topic == self.topics[-1]: + if (now - self.lastprint >= self.refresh + and topic == self.topics[-1]): self.lastprint = now self.show(topic, pos, item, unit, total) return orig(topic, pos, item=item, unit=unit, total=total)