# HG changeset patch # User Augie Fackler # Date 1266076146 21600 # Node ID dc0d1ca2d3782479cd1fdae7b313445f158d92d2 # Parent b39b32c33269a92d0f4a50508eadd8b91b34f907 progress: only reset state if finishing progress for the current topic This prevents some visual glitches when doing a clone --pull locally. diff -r b39b32c33269 -r dc0d1ca2d378 hgext/progress.py --- a/hgext/progress.py Sat Feb 13 15:34:44 2010 +0100 +++ b/hgext/progress.py Sat Feb 13 09:49:06 2010 -0600 @@ -155,7 +155,7 @@ if pos is None: if self.topics and self.topics[-1] == topic and self.printed: self.complete() - self.resetstate() + self.resetstate() else: if topic not in self.topics: self.topics.append(topic)