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.
--- 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)