diff --git a/mercurial/revset.py b/mercurial/revset.py index 605a8cb61a0c59e102cbb9a3ba845ea0754efe79_bWVyY3VyaWFsL3JldnNldC5weQ==..eb763217152ab2b472416bcc57722451c317f282_bWVyY3VyaWFsL3JldnNldC5weQ== 100644 --- a/mercurial/revset.py +++ b/mercurial/revset.py @@ -1351,7 +1351,7 @@ except (TypeError, ValueError): # i18n: "rev" is a keyword raise error.ParseError(_("rev expects a number")) - if l not in repo.changelog: + if l not in fullreposet(repo): return baseset() return subset & baseset([l])