portdbapi: update comment about repoman caches
authorZac Medico <zmedico@gentoo.org>
Sun, 22 Apr 2012 19:13:58 +0000 (12:13 -0700)
committerZac Medico <zmedico@gentoo.org>
Sun, 22 Apr 2012 19:13:58 +0000 (12:13 -0700)
bin/repoman
pym/portage/dbapi/porttree.py

index 4d39cb837894cdfe460a0e220d6d3a213c05d5e2..eedb5885b0e1646955096c901b9a64cd5e833647 100755 (executable)
@@ -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":{}}
index b060dd6a50af31e524041f548872887860218168..bdb87f13e770764a7ad013c1346ba186a61d5bba 100644 (file)
@@ -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("/")