Mercurial > hg-stable
diff mercurial/phases.py @ 20550:1716a2671ec7
phases: make order of debug output 'removing unknown node' deterministic
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Thu, 20 Feb 2014 02:43:17 +0100 |
parents | 7d5e7799a29f |
children | 793f9276aeb9 |
line wrap: on
line diff
--- a/mercurial/phases.py Thu Feb 20 02:39:01 2014 +0100 +++ b/mercurial/phases.py Thu Feb 20 02:43:17 2014 +0100 @@ -258,7 +258,7 @@ filtered = False nodemap = repo.changelog.nodemap # to filter unknown nodes for phase, nodes in enumerate(self.phaseroots): - missing = [node for node in nodes if node not in nodemap] + missing = sorted(node for node in nodes if node not in nodemap) if missing: for mnode in missing: repo.ui.debug(