diff -r 6ff8bd691fb8 -r 0194dac77c93 mercurial/revset.py --- a/mercurial/revset.py Mon Apr 02 23:52:43 2018 -0700 +++ b/mercurial/revset.py Mon Apr 02 16:18:33 2018 -0700 @@ -118,7 +118,7 @@ def stringset(repo, subset, x, order): if not x: raise error.ParseError(_("empty string is not a valid revision")) - x = scmutil.intrev(repo[x]) + x = scmutil.intrev(scmutil.revsymbol(repo, x)) if (x in subset or x == node.nullrev and isinstance(subset, fullreposet)): return baseset([x])