# HG changeset patch # User Pierre-Yves David # Date 2014-10-10 20:21:05 # Node ID ecd27fee5c2be526fbd492479467ca73a55bc595 # Parent 057ebf7714e1898279fe3070b2c4ef52f2385ef2 fullreposet: drop custom sets but not smartsets detection All custom classes use by revsets are smartsets now. We drop the special-casing. diff --git a/mercurial/revset.py b/mercurial/revset.py --- a/mercurial/revset.py +++ b/mercurial/revset.py @@ -2987,10 +2987,6 @@ class fullreposet(_spanset): # `other` was used with "&", let's assume this is a set like # object. other = baseset(other - self._hiddenrevs) - elif not util.safehasattr(other, 'isascending'): - # "other" is generatorset not a real smart set - # we fallback to the old way (sad kitten) - return super(fullreposet, self).__and__(other) if self.isascending(): other.sort()