revset-destination: remove usage of `set()`
authorPierre-Yves David <pierre-yves.david@fb.com>
Wed, 08 Oct 2014 02:47:46 -0700
changeset 22869 a9fb3d598ca2
parent 22868 88ad04bcdc74
child 22870 970d78f3f47c
revset-destination: 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:47:24 2014 -0700
+++ b/mercurial/revset.py	Wed Oct 08 02:47:46 2014 -0700
@@ -692,9 +692,9 @@
     is the same as passing all().
     """
     if x is not None:
-        args = getset(repo, spanset(repo), x).set()
+        args = getset(repo, spanset(repo), x)
     else:
-        args = getall(repo, spanset(repo), x).set()
+        args = getall(repo, spanset(repo), x)
 
     dests = set()