changeset 44582 | 482a6aac1f15 |
parent 44452 | 9d2b2df2c2ba |
child 44583 | 967e2e81f762 |
--- a/mercurial/revset.py Thu Mar 19 16:06:24 2020 +0100 +++ b/mercurial/revset.py Sat Mar 21 13:27:47 2020 +0900 @@ -2108,7 +2108,8 @@ except (TypeError, ValueError): # i18n: "rev" is a keyword raise error.ParseError(_(b"rev expects a number")) - repo.changelog.node(l) # check that the rev exists + if l not in _virtualrevs: + repo.changelog.node(l) # check that the rev exists return subset & baseset([l])