mercurial/revset.py
changeset 23726 d944492445fa
parent 23725 6a81f88758aa
parent 23724 aafeaba22826
child 23729 07a6faf939dc
--- a/mercurial/revset.py	Mon Jan 05 11:02:04 2015 +0900
+++ b/mercurial/revset.py	Mon Jan 05 15:46:14 2015 -0600
@@ -254,7 +254,7 @@
     x = repo[x].rev()
     if x == -1 and len(subset) == len(repo):
         return baseset([-1])
-    if len(subset) == len(repo) or x in subset:
+    if x in subset:
         return baseset([x])
     return baseset()