Show More
@@ -814,8 +814,9 b' def roots(repo, subset, x):' | |||||
814 | Changesets in set with no parent changeset in set. |
|
814 | Changesets in set with no parent changeset in set. | |
815 | """ |
|
815 | """ | |
816 | s = set(getset(repo, xrange(len(repo)), x)) |
|
816 | s = set(getset(repo, xrange(len(repo)), x)) | |
|
817 | subset = [r for r in subset if r in s] | |||
817 | cs = _children(repo, subset, s) |
|
818 | cs = _children(repo, subset, s) | |
818 |
return [r for r in subset if r |
|
819 | return [r for r in subset if r not in cs] | |
819 |
|
820 | |||
820 | def secret(repo, subset, x): |
|
821 | def secret(repo, subset, x): | |
821 | """``secret()`` |
|
822 | """``secret()`` |
General Comments 0
You need to be logged in to leave comments.
Login now