Mercurial > evolve
changeset 4611:c3fb96f9c8de
evolve: delete dead calculation of number of troubled revisions
The "count" variable is recalculated in the regular (no --continue)
code path and it isn't used anywhere else (it used to be set to 1 in
the --continue code path, but that now has its own progress counting).
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Thu, 25 Apr 2019 14:02:11 -0700 |
parents | c54d4c2c2846 |
children | c289f06028d0 |
files | hgext3rd/evolve/evolvecmd.py |
diffstat | 1 files changed, 0 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext3rd/evolve/evolvecmd.py Fri Apr 19 10:23:53 2019 -0700 +++ b/hgext3rd/evolve/evolvecmd.py Thu Apr 25 14:02:11 2019 -0700 @@ -1640,7 +1640,6 @@ return solveobswdp(ui, repo, opts) ui.setconfig('ui', 'forcemerge', opts.get('tool', ''), 'evolve') - troubled = set(repo.revs('troubled()')) evolvestate = state.cmdstate(repo) # Continuation handling @@ -1682,7 +1681,6 @@ # Progress handling seen = 1 - count = allopt and len(troubled) or 1 showprogress = allopt or revopt def progresscb():