##// END OF EJS Templates
fullreposet: drop custom sets but not smartsets detection...
Pierre-Yves David -
r22882:ecd27fee default
parent child Browse files
Show More
@@ -2987,10 +2987,6 b' class fullreposet(_spanset):'
2987 # `other` was used with "&", let's assume this is a set like
2987 # `other` was used with "&", let's assume this is a set like
2988 # object.
2988 # object.
2989 other = baseset(other - self._hiddenrevs)
2989 other = baseset(other - self._hiddenrevs)
2990 elif not util.safehasattr(other, 'isascending'):
2991 # "other" is generatorset not a real smart set
2992 # we fallback to the old way (sad kitten)
2993 return super(fullreposet, self).__and__(other)
2994
2990
2995 if self.isascending():
2991 if self.isascending():
2996 other.sort()
2992 other.sort()
General Comments 0
You need to be logged in to leave comments. Login now