From dd0976cc34dda2759348e64ffb668fc4821fe86d Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 22 Apr 2012 12:13:58 -0700 Subject: portdbapi: update comment about repoman caches --- bin/repoman | 3 +++ pym/portage/dbapi/porttree.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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("/") -- cgit v1.2.3-1-g7c22