Mercurial > hg-stable
diff hgext/largefiles/overrides.py @ 27904:ee3123e19db9
largefiles: make prompt order deterministic
42ae1b1f048f introduced iteration of a set. Make it stable.
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Sun, 17 Jan 2016 19:29:27 +0100 |
parents | f087b7095381 |
children | 27f2f5c1d499 |
line wrap: on
line diff
--- a/hgext/largefiles/overrides.py Sun Jan 17 17:23:32 2016 +0100 +++ b/hgext/largefiles/overrides.py Sun Jan 17 19:29:27 2016 +0100 @@ -470,7 +470,7 @@ elif lfutil.standin(f) in p1: lfiles.add(f) - for lfile in lfiles: + for lfile in sorted(lfiles): standin = lfutil.standin(lfile) (lm, largs, lmsg) = actions.get(lfile, (None, None, None)) (sm, sargs, smsg) = actions.get(standin, (None, None, None))