From 1d4ac47c28706094230cb2c4e6ee1c1c71629aa0 Mon Sep 17 00:00:00 2001 From: Arfrever Frehtes Taifersar Arahesis Date: Sat, 26 Nov 2011 02:52:49 +0100 Subject: [PATCH] dblink.mergeme(): Merge files in alphabetic order. --- pym/portage/dbapi/vartree.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py index dd74c10f4..099164a93 100644 --- a/pym/portage/dbapi/vartree.py +++ b/pym/portage/dbapi/vartree.py @@ -3981,7 +3981,7 @@ class dblink(object): mergelist = stufftomerge offset = "" - for i, x in enumerate(mergelist): + for i, x in enumerate(sorted(mergelist)): mysrc = join(srcroot, offset, x) mydest = join(destroot, offset, x) -- 2.26.2