revset-only: remove usage of `set()`
authorPierre-Yves David <pierre-yves.david@fb.com>
Wed, 08 Oct 2014 02:45:43 -0700
changeset 22865 09951bedbf35
parent 22864 96b6b3d78697
child 22866 6e739356f9bf
revset-only: remove usage of `set()` All smartset classes have fast lookup, so this function will be removed soon.
mercurial/revset.py
--- a/mercurial/revset.py	Thu Oct 09 22:57:52 2014 -0700
+++ b/mercurial/revset.py	Wed Oct 08 02:45:43 2014 -0700
@@ -397,7 +397,7 @@
     cl = repo.changelog
     # i18n: "only" is a keyword
     args = getargs(x, 1, 2, _('only takes one or two arguments'))
-    include = getset(repo, spanset(repo), args[0]).set()
+    include = getset(repo, spanset(repo), args[0])
     if len(args) == 1:
         if len(include) == 0:
             return baseset()