mercurial/revset.py
changeset 22688 cac9b3591753
parent 22687 d9cc1be5acec
child 22689 372f507f6676
--- a/mercurial/revset.py	Wed Oct 01 15:53:42 2014 -0500
+++ b/mercurial/revset.py	Tue Sep 30 23:09:59 2014 -0500
@@ -2255,8 +2255,6 @@
         """Returns a new object with the intersection of the two collections.
 
         This is part of the mandatory API for smartset."""
-        if isinstance(other, baseset):
-            other = other.set()
         return baseset([y for y in self if y in other])
 
     def __add__(self, other):