[PATCH 1 of 8 v2] subsettable: move from repoview to branchmap, the only place it's used

Augie Fackler raf at durin42.com
Sun Nov 24 19:35:30 CST 2013


On Nov 20, 2013, at 12:32 AM, Pierre-Yves David <pierre-yves.david at ens-lyon.org> wrote:

>> 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

Not quite sure what you're asking, send me a patch?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20131124/c03aadc8/attachment.pgp>


More information about the Mercurial-devel mailing list