mercurial/revset.py
branchstable
changeset 23078 eb763217152a
parent 23062 ba89f7b542c9
child 23100 ac494b087feb
--- a/mercurial/revset.py	Thu Oct 23 13:44:34 2014 -0500
+++ b/mercurial/revset.py	Thu Oct 23 21:53:37 2014 +0900
@@ -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])