mercurial/hbisect.py
changeset 18358 93293813d753
parent 17537 31f32a96e1e3
child 18463 07771e233cf1
--- a/mercurial/hbisect.py	Tue Jan 15 02:59:12 2013 +0100
+++ b/mercurial/hbisect.py	Wed Dec 12 02:38:14 2012 +0100
@@ -147,7 +147,7 @@
     f = repo.opener("bisect.state", "w", atomictemp=True)
     wlock = repo.wlock()
     try:
-        for kind in state:
+        for kind in sorted(state):
             for node in state[kind]:
                 f.write("%s %s\n" % (kind, hex(node)))
         f.close()