Mercurial > public > mercurial-scm > hg-stable
diff mercurial/hbisect.py @ 18358:93293813d753
bisect: store state sorted
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Wed, 12 Dec 2012 02:38:14 +0100 |
parents | 31f32a96e1e3 |
children | 07771e233cf1 |
line wrap: on
line diff
--- 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()