* [gentoo-commits] portage r15489 - main/trunk/pym/portage/dbapi
@ 2010-02-28 3:42 99% Zac Medico (zmedico)
0 siblings, 0 replies; 1+ results
From: Zac Medico (zmedico) @ 2010-02-28 3:42 UTC (permalink / raw
To: gentoo-commits
Author: zmedico
Date: 2010-02-28 03:42:22 +0000 (Sun, 28 Feb 2010)
New Revision: 15489
Modified:
main/trunk/pym/portage/dbapi/vartree.py
Log:
Fix vardbapi.move_ent and aux_update to clear relevant caches.
Modified: main/trunk/pym/portage/dbapi/vartree.py
===================================================================
--- main/trunk/pym/portage/dbapi/vartree.py 2010-02-28 03:33:26 UTC (rev 15488)
+++ main/trunk/pym/portage/dbapi/vartree.py 2010-02-28 03:42:22 UTC (rev 15489)
@@ -949,6 +949,8 @@
#dest already exists; keep this puppy where it is.
continue
_movefile(origpath, newpath, mysettings=self.settings)
+ self._clear_pkg_cache(self._dblink(mycpv))
+ self._clear_pkg_cache(self._dblink(mynewcpv))
# We need to rename the ebuild now.
old_pf = catsplit(mycpv)[1]
@@ -1345,6 +1347,7 @@
treetype="vartree", vartree=self.vartree)
if not mylink.exists():
raise KeyError(cpv)
+ self._clear_pkg_cache(mylink)
for k, v in values.items():
if v:
mylink.setfile(k, v)
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2010-02-28 3:42 99% [gentoo-commits] portage r15489 - main/trunk/pym/portage/dbapi Zac Medico (zmedico)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox