##// END OF EJS Templates
revset: retrieve a bit less parents in roots()
Patrick Mezard -
r16395:c3fd35f8 stable
parent child Browse files
Show More
@@ -814,8 +814,9 b' def roots(repo, subset, x):'
814 814 Changesets in set with no parent changeset in set.
815 815 """
816 816 s = set(getset(repo, xrange(len(repo)), x))
817 subset = [r for r in subset if r in s]
817 818 cs = _children(repo, subset, s)
818 return [r for r in subset if r in s and r not in cs]
819 return [r for r in subset if r not in cs]
819 820
820 821 def secret(repo, subset, x):
821 822 """``secret()``
General Comments 0
You need to be logged in to leave comments. Login now