##// END OF EJS Templates
revset: narrow the subset using smartset operation in roots()...
Pierre-Yves David -
r24923:e5f16696 default
parent child Browse files
Show More
@@ -17,6 +17,7 min(0::)
17 17 # those two `roots(...)` inputs are close to what phase movement use.
18 18 roots((tip~100::) - (tip~100::tip))
19 19 roots((0::) - (0::tip))
20 42:68 and roots(42:tip)
20 21 ::p1(p1(tip))::
21 22 public()
22 23 :10000 and public()
@@ -1684,7 +1684,7 def roots(repo, subset, x):
1684 1684 Changesets in set with no parent changeset in set.
1685 1685 """
1686 1686 s = getset(repo, fullreposet(repo), x)
1687 subset = baseset([r for r in s if r in subset])
1687 subset = subset & s# baseset([r for r in s if r in subset])
1688 1688 cs = _children(repo, subset, s)
1689 1689 return subset - cs
1690 1690
General Comments 0
You need to be logged in to leave comments. Login now