Commits

Pierre-Yves David committed f7e54d4

warning: work around phase limitation when computing warnings

The new phase have not been written yet because we did not release the lock yet
:-/

  • Participants
  • Parent commits 38fbcc7
  • Branches stable

Comments (0)

Files changed (1)

File hgext/evolve.py

     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