# HG changeset patch # User Martin von Zweigbergk # Date 1556037092 25200 # Node ID f3236cd49ab8a51776082dfc8a69881e448f6651 # Parent 78d60913ea9f4c8812abf3d0effddf86a0ab55fe evolve: clean up progress bar also when using -r It looks like 1fe3da0b4601 (evolve: add --rev option to the evolve command, 2015-05-05) forgot to update the "showprogress" variable. diff -r 78d60913ea9f -r f3236cd49ab8 hgext3rd/evolve/evolvecmd.py --- a/hgext3rd/evolve/evolvecmd.py Tue Apr 23 10:20:03 2019 -0700 +++ b/hgext3rd/evolve/evolvecmd.py Tue Apr 23 09:31:32 2019 -0700 @@ -1649,10 +1649,10 @@ # Progress handling seen = 1 count = allopt and len(troubled) or 1 - showprogress = allopt + showprogress = allopt or revopt def progresscb(): - if revopt or allopt: + if showprogress: compat.progress(ui, _('evolve'), seen, unit=_('changesets'), total=count) evolvestate = state.cmdstate(repo)