repoview: add a subset table
This will be used by branchmap collaboration. See inline documentation for more
details
--- a/mercurial/repoview.py Wed Jan 02 01:40:42 2013 +0100
+++ b/mercurial/repoview.py Mon Jan 07 17:16:24 2013 +0100
@@ -21,6 +21,13 @@
# function to compute filtered set
filtertable = {'unserved': computeunserved}
+### Nearest subset relation
+# Nearest subset of filter X is a filter Y so that:
+# * Y is included in X,
+# * X - Y is as small as possible.
+# This create and ordering used for branchmap purpose.
+# the ordering may be partial
+subsettable = {None: 'unserved'}
def filteredrevs(repo, filtername):
"""returns set of filtered revision for this filter name"""