# HG changeset patch # User timeless@mozdev.org # Date 1441842204 14400 # Node ID 625b75a0119626962ffa9f1ef89aeca18e39bf7a # Parent aca2495425a6fa4afafdc1360c7b1a69c0ca999c evolve: add progress for _obsrelsethashtree diff -r aca2495425a6 -r 625b75a01196 hgext/evolve.py --- a/hgext/evolve.py Wed Sep 09 19:43:14 2015 -0400 +++ b/hgext/evolve.py Wed Sep 09 19:43:24 2015 -0400 @@ -3381,6 +3381,7 @@ cache = [] unfi = repo.unfiltered() markercache = {} + repo.ui.progress("preparing locally", 0, total=len(unfi)) for i in unfi: ctx = unfi[i] entry = 0 @@ -3410,6 +3411,8 @@ cache.append((ctx.node(), sha.digest())) else: cache.append((ctx.node(), nullid)) + repo.ui.progress("preparing locally", i, total=len(unfi)) + repo.ui.progress("preparing locally", None) return cache @command('debugobsrelsethashtree',