equal
deleted
inserted
replaced
2646 for branch in repo.branchmap(): |
2646 for branch in repo.branchmap(): |
2647 heads += repo.branchheads(branch, start, opts.get('closed')) |
2647 heads += repo.branchheads(branch, start, opts.get('closed')) |
2648 heads = [repo[h] for h in heads] |
2648 heads = [repo[h] for h in heads] |
2649 |
2649 |
2650 if branchrevs: |
2650 if branchrevs: |
2651 branches = set(repo[br].branch() for br in branchrevs) |
2651 branches = set(repo[r].branch() |
|
2652 for r in scmutil.revrange(repo, branchrevs)) |
2652 heads = [h for h in heads if h.branch() in branches] |
2653 heads = [h for h in heads if h.branch() in branches] |
2653 |
2654 |
2654 if opts.get('active') and branchrevs: |
2655 if opts.get('active') and branchrevs: |
2655 dagheads = repo.heads(start) |
2656 dagheads = repo.heads(start) |
2656 heads = [h for h in heads if h.node() in dagheads] |
2657 heads = [h for h in heads if h.node() in dagheads] |