diff -r 6a81f88758aa -r d944492445fa mercurial/revset.py --- 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()