Submitter | phabricator |
---|---|
Date | Oct. 1, 2021, 7:51 p.m. |
Message ID | <differential-rev-PHID-DREV-dawb3y42qcywq6stdho6-req@mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/49883/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/mercurial/commands.py b/mercurial/commands.py --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -5219,13 +5219,13 @@ # look for specified revision revs = list(revs) revs.extend(opts[b'rev']) - if not revs: + if revs: + revs = scmutil.revrange(repo, revs) + else: # display both parents as the second parent phase can influence # the phase of a merge commit revs = [c.rev() for c in repo[None].parents()] - revs = scmutil.revrange(repo, revs) - ret = 0 if targetphase is None: # display