# HG changeset patch # User Pierre-Yves David # Date 1412761543 25200 # Node ID 09951bedbf35031bc8a57fed59c8b706c5e9890a # Parent 96b6b3d78697f104e7e6d7d87129779d07077e9a revset-only: remove usage of `set()` All smartset classes have fast lookup, so this function will be removed soon. diff -r 96b6b3d78697 -r 09951bedbf35 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()