changeset 22869:a9fb3d598ca2

revset-destination: 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:47:46 -0700
parents 88ad04bcdc74
children 970d78f3f47c
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:47:24 2014 -0700
+++ b/mercurial/revset.py	Wed Oct 08 02:47:46 2014 -0700
@@ -692,9 +692,9 @@
     is the same as passing all().
     """
     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)
 
     dests = set()