Mercurial > evolve
changeset 4597:f3236cd49ab8
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.
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Tue, 23 Apr 2019 09:31:32 -0700 |
parents | 78d60913ea9f |
children | 2c094d4ee9cd |
files | hgext3rd/evolve/evolvecmd.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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)