changeset 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 512a814c5595
children 27f2f5c1d499
files hgext/largefiles/overrides.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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))