mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 15:27:13 +03:00
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:
parent
c42d4c5508
commit
de4bc2f6f8
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user