# HG changeset patch # User Pierre-Yves David # Date 2014-10-08 09:45:43 # 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 --git a/mercurial/revset.py b/mercurial/revset.py --- a/mercurial/revset.py +++ b/mercurial/revset.py @@ -397,7 +397,7 @@ def only(repo, subset, x): 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()