changeset 22871:9b73ab9bcbfb

revset-last: 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:48:56 -0700
parents 970d78f3f47c
children 45afc86567ce
files mercurial/revset.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/revset.py	Wed Oct 08 02:48:24 2014 -0700
+++ b/mercurial/revset.py	Wed Oct 08 02:48:56 2014 -0700
@@ -1042,7 +1042,7 @@
     except (TypeError, ValueError):
         # i18n: "last" is a keyword
         raise error.ParseError(_("last expects a number"))
-    ss = subset.set()
+    ss = subset
     os = getset(repo, spanset(repo), l[0])
     os.reverse()
     result = []