[PATCH 1 of 8 v2] subsettable: move from repoview to branchmap, the only place it's used
Pierre-Yves David
pierre-yves.david at ens-lyon.org
Tue Nov 19 23:32:03 CST 2013
On 11/17/2013 01:37 PM, Augie Fackler wrote:
> # HG changeset patch
> # User Augie Fackler <raf at durin42.com>
> # Date 1383766714 18000
> # Wed Nov 06 14:38:34 2013 -0500
> # Node ID 175c6fd8cacc46ec69079e62bdcf611c779c67ea
> # Parent 6c1adf2067bb7c225f96cf253e9e228b5a7cdcf4
> subsettable: move from repoview to branchmap, the only place it's used
> diff --git a/mercurial/repoview.py b/mercurial/repoview.py
> --- a/mercurial/repoview.py
> +++ b/mercurial/repoview.py
> @@ -98,16 +98,6 @@
> 'served': computeunserved,
> 'immutable': computemutable,
> 'base': computeimpactable}
> -### 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: 'visible',
> - 'visible': 'served',
> - 'served': 'immutable',
> - 'immutable': 'base'}
Please do add a big flashy warning comment that whatever gets added to
the dictionary right above MUST have a corresponding entry in
subsettable located at XXX
>
> def filterrevs(repo, filtername):
> """returns set of filtered revision for this filter name"""
> @@ -215,4 +205,3 @@
> @property
> def requirements(self):
> return self._unfilteredrepo.requirements
> -
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
> http://selenic.com/mailman/listinfo/mercurial-devel
More information about the Mercurial-devel
mailing list