# HG changeset patch # User Anton Shestakov # Date 1523511028 -28800 # Node ID 1e9b535cd9bece2b1e8593006b0f1529b7ae617b # Parent 4a456d9132e34702832b61fdd8c80113866f0c30 stablerangecache: include units in ui.progress() calls diff -r 4a456d9132e3 -r 1e9b535cd9be hgext3rd/evolve/stablerangecache.py --- a/hgext3rd/evolve/stablerangecache.py Thu Apr 12 13:28:30 2018 +0800 +++ b/hgext3rd/evolve/stablerangecache.py Thu Apr 12 13:30:28 2018 +0800 @@ -66,7 +66,8 @@ 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