# HG changeset patch # User Martin von Zweigbergk # Date 1556226131 25200 # Node ID c3fb96f9c8de11a0fdb672489137e0a6d658b1b4 # Parent c54d4c2c28467adc47ed613c51a48bf274997a6d 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). diff -r c54d4c2c2846 -r c3fb96f9c8de hgext3rd/evolve/evolvecmd.py --- 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():