Mercurial > hg
changeset 22872:45afc86567ce
revset-origin: 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:49:17 -0700 |
parents | 9b73ab9bcbfb |
children | 9fe8e1e80841 |
files | mercurial/revset.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/revset.py Wed Oct 08 02:48:56 2014 -0700 +++ b/mercurial/revset.py Wed Oct 08 02:49:17 2014 -0700 @@ -1151,9 +1151,9 @@ for the first operation is selected. """ if x is not None: - args = getset(repo, spanset(repo), x).set() + args = getset(repo, spanset(repo), x) else: - args = getall(repo, spanset(repo), x).set() + args = getall(repo, spanset(repo), x) def _firstsrc(rev): src = _getrevsource(repo, rev)