revset-children: remove usage of `set()`
authorPierre-Yves David <pierre-yves.david@fb.com>
Wed, 08 Oct 2014 02:47:24 -0700
changeset 22868 88ad04bcdc74
parent 22867 5ee9b78ce805
child 22869 a9fb3d598ca2
revset-children: remove usage of `set()` All smartset classes have fast lookup, so this function will be removed soon.
mercurial/revset.py
--- a/mercurial/revset.py	Wed Oct 08 02:47:00 2014 -0700
+++ b/mercurial/revset.py	Wed Oct 08 02:47:24 2014 -0700
@@ -572,7 +572,7 @@
     """``children(set)``
     Child changesets of changesets in set.
     """
-    s = getset(repo, baseset(repo), x).set()
+    s = getset(repo, baseset(repo), x)
     cs = _children(repo, subset, s)
     return subset & cs