Mercurial > public > mercurial-scm > hg-stable
diff mercurial/localrepo.py @ 12127:36a65283c3af
commit: sort subrepos before committing for stable test output
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Tue, 31 Aug 2010 16:36:31 +0200 |
parents | fddacca3202e |
children | af8c4929931c |
line wrap: on
line diff
--- a/mercurial/localrepo.py Mon Aug 30 19:05:13 2010 +0900 +++ b/mercurial/localrepo.py Tue Aug 31 16:36:31 2010 +0200 @@ -877,7 +877,7 @@ # commit subs if subs or removedsubs: state = wctx.substate.copy() - for s in subs: + for s in sorted(subs): sub = wctx.sub(s) self.ui.status(_('committing subrepository %s\n') % subrepo.relpath(sub))