Show More
@@ -2648,7 +2648,8 b' def heads(ui, repo, *branchrevs, **opts)' | |||||
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[ |
|
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: |
General Comments 0
You need to be logged in to leave comments.
Login now