changeset 37264 | d2c912836465 |
parent 37084 | f0b6fbea00cf |
child 37271 | 0194dac77c93 |
--- a/mercurial/revset.py Mon Apr 02 09:06:24 2018 -0700 +++ b/mercurial/revset.py Mon Apr 02 09:16:52 2018 -0700 @@ -116,6 +116,8 @@ # operator methods def stringset(repo, subset, x, order): + if not x: + raise error.ParseError(_("empty string is not a valid revision")) x = scmutil.intrev(repo[x]) if (x in subset or x == node.nullrev and isinstance(subset, fullreposet)):