revset-_list: remove usage of `set()`
authorPierre-Yves David <pierre-yves.david@fb.com>
Wed, 08 Oct 2014 02:51:16 -0700
changeset 22875 eed95fe914c5
parent 22874 e15027cc4cd8
child 22876 d52ca940c665
revset-_list: 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:50:20 2014 -0700
+++ b/mercurial/revset.py	Wed Oct 08 02:51:16 2014 -0700
@@ -1656,7 +1656,7 @@
     if not s:
         return baseset()
     ls = [repo[r].rev() 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