changeset 22875:eed95fe914c5

revset-_list: remove usage of `set()` All smartset classes have fast lookup, so this function will be removed soon.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Wed, 08 Oct 2014 02:51:16 -0700
parents e15027cc4cd8
children d52ca940c665
files mercurial/revset.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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