Mercurial > public > mercurial-scm > hg-stable
diff hgext/relink.py @ 10225:6521605bc200 stable
relink: ensure consistent candidate order
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Sat, 09 Jan 2010 23:16:36 +0100 |
parents | 750b7a4f01f6 |
children | e3e41e5e7ff4 25e572394f5c |
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: