Mercurial > hg
changeset 20196:59198508b0bd
filter: add a comment so that people do not forget to update subsettable
Changeset 175c6fd8cacc moved `subsettable` from `mercurial/repoview.py` to
`mercurial/branchmap.py`. This mean that `filtertable` and `subsettable` are no
longer next to each other. So we add a comment to remind people to update both.
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Tue, 24 Dec 2013 17:44:23 -0500 |
parents | 4274eda143cb |
children | 761f2929a6ad |
files | mercurial/repoview.py |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/repoview.py Mon Sep 16 01:08:29 2013 -0700 +++ b/mercurial/repoview.py Tue Dec 24 17:44:23 2013 -0500 @@ -94,6 +94,11 @@ return frozenset(xrange(firstmutable, len(cl))) # function to compute filtered set +# +# When addding a new filter you MUST update the table at: +# mercurial.branchmap.subsettable +# Otherwise your filter will have to recompute all its branches cache +# from scratch (very slow). filtertable = {'visible': computehidden, 'served': computeunserved, 'immutable': computemutable,