# HG changeset patch # User Anton Shestakov # Date 1457761525 -28800 # Node ID 47a0ce11b4ca751fbdd20d41dd91e329370da7d8 # Parent 05d15886aaebcee15a372fc28584766e4e7553bd evolve: ui.progress doesn't use total count if pos is None, let's drop it Every other call of ui.progress that has argument #2 (named `pos`) set to None doesn't specify `total`, because it won't be used. Basically, ui.progress(action, None) is enough, when used like this it hides progress bar because the action is considered completed. So this is just a minor cleanup patch. diff -r 05d15886aaeb -r 47a0ce11b4ca hgext/evolve.py --- a/hgext/evolve.py Fri Mar 11 23:47:59 2016 +0000 +++ b/hgext/evolve.py Sat Mar 12 13:45:25 2016 +0800 @@ -3245,7 +3245,7 @@ undecided.difference_update(common) - ui.progress(_("comparing with other"), None, total=totalnb) + ui.progress(_("comparing with other"), None) result = dag.headsetofconnecteds(common) ui.debug("%d total queries\n" % roundtrips)