changeset 10225:6521605bc200 stable

relink: ensure consistent candidate order
author Martin Geisler <mg@lazybytes.net>
date Sat, 09 Jan 2010 23:16:36 +0100
parents 712dc3b6db68
children e3e41e5e7ff4 9bf3ebdb19ae
files hgext/relink.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/relink.py	Sat Jan 09 23:03:33 2010 +0100
+++ b/hgext/relink.py	Sat Jan 09 23:16:36 2010 +0100
@@ -46,7 +46,7 @@
     try:
         remotelock = src.lock()
         try:
-            candidates = collect(src.store.path, ui)
+            candidates = sorted(collect(src.store.path, ui))
             targets = prune(candidates, src.store.path, repo.store.path, ui)
             do_relink(src.store.path, repo.store.path, targets, ui)
         finally: