Show More
@@ -631,13 +631,11 b' def commonancestors(repo, subset, x):' | |||
|
631 | 631 | in the repo (whereas we want "::x *and* ::y"). |
|
632 | 632 | |
|
633 | 633 | """ |
|
634 | # only wants the heads of the set passed in | |
|
635 | h = heads(repo, fullreposet(repo), x, anyorder) | |
|
636 | if not h: | |
|
634 | startrevs = getset(repo, fullreposet(repo), x, order=anyorder) | |
|
635 | if not startrevs: | |
|
637 | 636 | return baseset() |
|
638 |
for r in |
|
|
637 | for r in startrevs: | |
|
639 | 638 | subset &= dagop.revancestors(repo, baseset([r])) |
|
640 | ||
|
641 | 639 | return subset |
|
642 | 640 | |
|
643 | 641 | @predicate('contains(pattern)', weight=100) |
General Comments 0
You need to be logged in to leave comments.
Login now