# HG changeset patch # User Martin Geisler # Date 1263075396 -3600 # Node ID 6521605bc2007750e57895d8ba0b3f02a83b1df0 # Parent 712dc3b6db68c664f49fb70717d5152df1d1bf04 relink: ensure consistent candidate order diff -r 712dc3b6db68 -r 6521605bc200 hgext/relink.py --- 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: