--- a/hgext3rd/evolve/stablerange.py Fri Apr 06 20:00:43 2018 +0530
+++ b/hgext3rd/evolve/stablerange.py Thu Apr 12 13:28:30 2018 +0800
@@ -608,7 +608,8 @@
rangeheap = []
for idx, r in enumerate(revs):
if not idx % 1000:
- ui.progress(_("filling depth cache"), idx, total=nbrevs)
+ ui.progress(_("filling depth cache"), idx, total=nbrevs,
+ unit=_("changesets"))
# warm up depth
self.depthrev(repo, r)
rangeheap.append((-r, (r, 0)))
@@ -633,7 +634,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=nbrevs)
+ ui.progress(_("filling stablerange cache"), seen,
+ total=nbrevs, unit=_("changesets"))
progress_last = progress_new
seen += 1
original.remove(value) # might have been added from other source