Mercurial > hg
changeset 18233:59a9f18d4587
repoview: add a subset table
This will be used by branchmap collaboration. See inline documentation for more
details
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Mon, 07 Jan 2013 17:16:24 +0100 |
parents | dd0b636b0b65 |
children | a55b06885cda |
files | mercurial/repoview.py |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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"""