Mercurial > hg
comparison tests/test-clone-cgi.t @ 18013:98c867ac1330
clfilter: add a propertycache that must be unfiltered
Some of the localrepo property caches must be computed unfiltered and
stored globally. Some others must see the filtered version and store data
relative to the current filtering.
This changeset introduces two classes `unfilteredpropertycache`
and `filteredpropertycache` for this purpose. A new function
`hasunfilteredcache` is introduced for unambiguous checking for cached
values on unfiltered repos.
A few tweaks are made to the property cache class to allow overriding
the way the computed value is stored on the object.
Some logic relative to _tagcaches is cleaned up in the process.
author | Pierre-Yves David <pierre-yves.david@logilab.fr> |
---|---|
date | Mon, 08 Oct 2012 20:02:20 +0200 |
parents | 8b84d040d9f9 |
children | e8efcc8ff5c0 |
comparison
equal
deleted
inserted
replaced
18012:848c428bb5ee | 18013:98c867ac1330 |
---|