changeset 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 2025315cfb0c
children efae655fd363
files mercurial/phases.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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(