changeset 22868:88ad04bcdc74

revset-children: 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:24 -0700
parents 5ee9b78ce805
children a9fb3d598ca2
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: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