Mercurial > public > mercurial-scm > hg
diff hgext/histedit.py @ 18370:c605e12dd622
histedit: process bookmarks in sorted order
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Wed, 12 Dec 2012 02:38:14 +0100 |
parents | 2eae2f9e85ef |
children | b38c10502af9 |
line wrap: on
line diff
--- a/hgext/histedit.py Wed Dec 12 02:38:14 2012 +0100 +++ b/hgext/histedit.py Wed Dec 12 02:38:14 2012 +0100 @@ -720,7 +720,7 @@ # if nothing got rewritten there is not purpose for this function return moves = [] - for bk, old in repo._bookmarks.iteritems(): + for bk, old in sorted(repo._bookmarks.iteritems()): if old == oldtopmost: # special case ensure bookmark stay on tip. #