revset-origin: remove usage of `set()`
authorPierre-Yves David <pierre-yves.david@fb.com>
Wed, 08 Oct 2014 02:49:17 -0700
changeset 22872 45afc86567ce
parent 22871 9b73ab9bcbfb
child 22873 9fe8e1e80841
revset-origin: 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:48:56 2014 -0700
+++ b/mercurial/revset.py	Wed Oct 08 02:49:17 2014 -0700
@@ -1151,9 +1151,9 @@
     for the first operation is selected.
     """
     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)
 
     def _firstsrc(rev):
         src = _getrevsource(repo, rev)