Mercurial > evolve
diff hgext/evolve.py @ 1495:625b75a01196
evolve: add progress for _obsrelsethashtree
author | timeless@mozdev.org |
---|---|
date | Wed, 09 Sep 2015 19:43:24 -0400 |
parents | aca2495425a6 |
children | 62aa11956a40 |
line wrap: on
line diff
--- 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',