# HG changeset patch # User Anton Shestakov <a...@dwimlabs.net> # Date 1523511028 -28800 # Thu Apr 12 13:30:28 2018 +0800 # Node ID b9fba41c577de088b6582cae3f8a4603afda5589 # Parent ef38b973097170304e7d4b62c6605d84d73fcc30 stablerangecache: include units in ui.progress() calls
diff --git a/hgext3rd/evolve/stablerangecache.py b/hgext3rd/evolve/stablerangecache.py --- a/hgext3rd/evolve/stablerangecache.py +++ b/hgext3rd/evolve/stablerangecache.py @@ -66,7 +66,8 @@ class stablerangeondiskbase(stablerange. progress_new = time.time() if (1 < progress_each) and (0.1 < progress_new - progress_last): progress_each /= 10 - ui.progress(_("filling stablerange cache"), seen, total=total) + ui.progress(_("filling stablerange cache"), seen, + total=total, unit=_("changesets")) progress_last = progress_new seen += 1 original.remove(rangeid) # might have been added from other source _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel