Mercurial > evolve
changeset 552:f7e54d4a3b90 stable
warning: work around phase limitation when computing warnings
The new phase have not been written yet because we did not release the lock yet
:-/
author | Pierre-Yves David <pierre-yves.david@logilab.fr> |
---|---|
date | Tue, 11 Sep 2012 12:30:22 +0200 |
parents | 38fbcc760ec6 |
children | e29561d918a6 |
files | hgext/evolve.py |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/evolve.py Tue Sep 11 12:19:13 2012 +0200 +++ b/hgext/evolve.py Tue Sep 11 12:30:22 2012 +0200 @@ -916,6 +916,8 @@ priorlatecomers = len(repo.revs('latecomer()')) priorconflictings = len(repo.revs('conflicting()')) ret = orig(ui, repo, *args, **kwargs) + # workaround phase stupidity + phases._filterunknown(ui, repo.changelog, repo._phasecache.phaseroots) newunstables = len(repo.revs('unstable()')) - priorunstables newlatecomers = len(repo.revs('latecomer()')) - priorlatecomers newconflictings = len(repo.revs('conflicting()')) - priorconflictings