##// END OF EJS Templates
revset-roots: remove usage of `set()`...
Pierre-Yves David -
r22874:e15027cc default
parent child Browse files
Show More
@@ -1478,8 +1478,8 b' def roots(repo, subset, x):'
1478 """``roots(set)``
1478 """``roots(set)``
1479 Changesets in set with no parent changeset in set.
1479 Changesets in set with no parent changeset in set.
1480 """
1480 """
1481 s = getset(repo, spanset(repo), x).set()
1481 s = getset(repo, spanset(repo), x)
1482 subset = baseset([r for r in s if r in subset.set()])
1482 subset = baseset([r for r in s if r in subset])
1483 cs = _children(repo, subset, s)
1483 cs = _children(repo, subset, s)
1484 return subset - cs
1484 return subset - cs
1485
1485
General Comments 0
You need to be logged in to leave comments. Login now