Mercurial > hg-stable
changeset 22865:09951bedbf35
revset-only: remove usage of `set()`
All smartset classes have fast lookup, so this function will be removed soon.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Wed, 08 Oct 2014 02:45:43 -0700 |
parents | 96b6b3d78697 |
children | 6e739356f9bf |
files | mercurial/revset.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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()