From: Zac Medico Date: Wed, 5 Jul 2006 20:03:35 +0000 (-0000) Subject: Make a backup of ACCEPT_KEYWORDS when repoman changes it for each profile. This... X-Git-Tag: v2.1.1~278 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7d020ab97b621d1df1223c1308ca68007296bfed;p=portage.git 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 --- 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)