mercurial/localrepo.py
changeset 12127 36a65283c3af
parent 12070 fddacca3202e
child 12162 af8c4929931c
--- 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))