From 7d020ab97b621d1df1223c1308ca68007296bfed Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 5 Jul 2006 20:03:35 +0000 Subject: [PATCH] Make a backup of ACCEPT_KEYWORDS when repoman changes it for each profile. This prevents it from being discarded by config.reset() and was the root cause of bug #132601. The cloning that was added in r3791 is a safeguard to prevent problems like this. svn path=/main/trunk/; revision=3792 --- bin/repoman | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/repoman b/bin/repoman index 6df7e97ef..6bab8400e 100755 --- a/bin/repoman +++ b/bin/repoman @@ -1149,6 +1149,8 @@ for x in scanlist: portage.db["/"]["porttree"].settings = dep_settings portage.db["/"]["porttree"].dbapi.mysettings = dep_settings dep_settings["ACCEPT_KEYWORDS"] = " ".join(groups) + # just in case, prevent config.reset() from nuking these. + dep_settings.backup_changes("ACCEPT_KEYWORDS") for myprovide in myaux["PROVIDE"].split(): prov_cp = portage.dep_getkey(myprovide) -- 2.26.2