filter: add a comment so that people do not forget to update subsettable

Changeset aad678a92970 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.
This commit is contained in:
Pierre-Yves David 2013-12-24 17:44:23 -05:00
parent c42d4c5508
commit de4bc2f6f8

View File

@ -94,6 +94,11 @@ def computeimpactable(repo):
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,