comparison mercurial/revset.py @ 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
comparison
equal deleted inserted replaced
22867:5ee9b78ce805 22868:88ad04bcdc74
570 570
571 def children(repo, subset, x): 571 def children(repo, subset, x):
572 """``children(set)`` 572 """``children(set)``
573 Child changesets of changesets in set. 573 Child changesets of changesets in set.
574 """ 574 """
575 s = getset(repo, baseset(repo), x).set() 575 s = getset(repo, baseset(repo), x)
576 cs = _children(repo, subset, s) 576 cs = _children(repo, subset, s)
577 return subset & cs 577 return subset & cs
578 578
579 def closed(repo, subset, x): 579 def closed(repo, subset, x):
580 """``closed()`` 580 """``closed()``