# HG changeset patch # User Pierre-Yves David # Date 1387925063 18000 # Node ID 59198508b0bdbc3b2a945051475cd70c70c8ee7d # Parent 4274eda143cb1025be1130ffdaaf62370a2a6961 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. diff -r 4274eda143cb -r 59198508b0bd mercurial/repoview.py --- 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,