mercurial/revset.py
changeset 37273 0194dac77c93
parent 37266 d2c912836465
child 37350 e32dfff71529
--- 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])