summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2012-04-22 12:13:58 -0700
committerZac Medico <zmedico@gentoo.org>2012-04-22 12:13:58 -0700
commitdd0976cc34dda2759348e64ffb668fc4821fe86d (patch)
tree50ce7f2f14038b68966f077f516a96564e1770cf
parentd30db49bcaecbdeb20f6d4e180979b60b6260f69 (diff)
downloadportage-dd0976cc34dda2759348e64ffb668fc4821fe86d.tar.gz
portage-dd0976cc34dda2759348e64ffb668fc4821fe86d.tar.bz2
portage-dd0976cc34dda2759348e64ffb668fc4821fe86d.zip
portdbapi: update comment about repoman caches
-rwxr-xr-xbin/repoman3
-rw-r--r--pym/portage/dbapi/porttree.py2
2 files changed, 4 insertions, 1 deletions
diff --git a/bin/repoman b/bin/repoman
index 4d39cb837..eedb5885b 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -1186,6 +1186,9 @@ def vcs_new_changed(relative_path):
have_pmasked = False
have_dev_keywords = False
dofail = 0
+
+# NOTE: match-all caches are not shared due to potential
+# differences between profiles in _get_implicit_iuse.
arch_caches={}
arch_xmatch_caches = {}
shared_xmatch_caches = {"cp-list":{}}
diff --git a/pym/portage/dbapi/porttree.py b/pym/portage/dbapi/porttree.py
index b060dd6a5..bdb87f13e 100644
--- a/pym/portage/dbapi/porttree.py
+++ b/pym/portage/dbapi/porttree.py
@@ -729,7 +729,7 @@ class portdbapi(dbapi):
if cachelist is not None:
# Try to propagate this to the match-all cache here for
# repoman since he uses separate match-all caches for each
- # profile (due to old-style virtuals).
+ # profile (due to differences in _get_implicit_iuse).
self.xcache["match-all"][(mycp, mycp)] = cachelist
return cachelist[:]
mysplit = mycp.split("/")