revset-_intlist: remove usage of `set()`
authorPierre-Yves David <pierre-yves.david@fb.com>
Wed, 08 Oct 2014 02:51:54 -0700
changeset 22876 d52ca940c665
parent 22875 eed95fe914c5
child 22877 489d2f3688c9
revset-_intlist: remove usage of `set()` All smartset classes have fast lookup, so this function will be removed soon.
mercurial/revset.py
--- a/mercurial/revset.py	Wed Oct 08 02:51:16 2014 -0700
+++ b/mercurial/revset.py	Wed Oct 08 02:51:54 2014 -0700
@@ -1665,7 +1665,7 @@
     if not s:
         return baseset()
     ls = [int(r) for r in s.split('\0')]
-    s = subset.set()
+    s = subset
     return baseset([r for r in ls if r in s])
 
 # for internal use