mercurial/phases.py
changeset 20550 1716a2671ec7
parent 19984 7d5e7799a29f
child 22052 793f9276aeb9
--- 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(