stablerangecache: include units in ui.progress() calls
authorAnton Shestakov <av6@dwimlabs.net>
Thu, 12 Apr 2018 13:30:28 +0800
changeset 3659 1e9b535cd9be
parent 3658 4a456d9132e3
child 3660 f018656ca3bf
stablerangecache: include units in ui.progress() calls
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