Submitter | phabricator |
---|---|
Date | April 4, 2018, 10:54 p.m. |
Message ID | <differential-rev-PHID-DREV-4tfymuekq3s5uinjwykq-req@phab.mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/30306/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/mercurial/commands.py b/mercurial/commands.py --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -2648,7 +2648,8 @@ heads = [repo[h] for h in heads] if branchrevs: - branches = set(repo[br].branch() for br in branchrevs) + branches = set(repo[r].branch() + for r in scmutil.revrange(repo, branchrevs)) heads = [h for h in heads if h.branch() in branches] if opts.get('active') and branchrevs: