diff -r bbf544b5f2e9 -r 1aee2ab0f902 mercurial/ui.py --- a/mercurial/ui.py Wed Oct 14 03:30:27 2015 -0400 +++ b/mercurial/ui.py Sat Oct 17 00:58:46 2015 +0200 @@ -931,7 +931,7 @@ def _progclear(self): """clear progress bar output if any. use it before any output""" - if '_progbar' not in vars(self): # nothing loadef yet + if '_progbar' not in vars(self): # nothing loaded yet return if self._progbar is not None and self._progbar.printed: self._progbar.clear()