Mercurial > evolve
changeset 3659:1e9b535cd9be
stablerangecache: include units in ui.progress() calls
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Thu, 12 Apr 2018 13:30:28 +0800 |
parents | 4a456d9132e3 |
children | f018656ca3bf |
files | hgext3rd/evolve/stablerangecache.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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