revset-only: remove usage of `set()`
All smartset classes have fast lookup, so this function will be removed soon.
--- 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()