comparison hgext/evolve.py @ 649:d318fbb1cd67

evolve: stop working around phase limitation Core is handling this part a bit better
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Wed, 02 Jan 2013 14:41:47 +0100
parents a2b805bacdc0
children 609faf10d307
comparison
equal deleted inserted replaced
647:a2b805bacdc0 649:d318fbb1cd67
650 priorunstables = len(repo.revs('unstable()')) 650 priorunstables = len(repo.revs('unstable()'))
651 priorbumpeds = len(repo.revs('bumped()')) 651 priorbumpeds = len(repo.revs('bumped()'))
652 priordivergents = len(repo.revs('divergent()')) 652 priordivergents = len(repo.revs('divergent()'))
653 ret = orig(ui, repo, *args, **kwargs) 653 ret = orig(ui, repo, *args, **kwargs)
654 # workaround phase stupidity 654 # workaround phase stupidity
655 phases._filterunknown(ui, repo.changelog, repo._phasecache.phaseroots) 655 #phases._filterunknown(ui, repo.changelog, repo._phasecache.phaseroots)
656 newunstables = len(repo.revs('unstable()')) - priorunstables 656 newunstables = len(repo.revs('unstable()')) - priorunstables
657 newbumpeds = len(repo.revs('bumped()')) - priorbumpeds 657 newbumpeds = len(repo.revs('bumped()')) - priorbumpeds
658 newdivergents = len(repo.revs('divergent()')) - priordivergents 658 newdivergents = len(repo.revs('divergent()')) - priordivergents
659 if newunstables > 0: 659 if newunstables > 0:
660 ui.warn(_('%i new unstable changesets\n') % newunstables) 660 ui.warn(_('%i new unstable changesets\n') % newunstables)