mercurial/revset.py
changeset 25619 833fa28cd949
parent 25612 97528adbf74b
child 25620 5f87f2305ad0
--- a/mercurial/revset.py	Wed Jun 17 16:29:46 2015 -0700
+++ b/mercurial/revset.py	Wed Jun 10 19:58:27 2015 -0700
@@ -1518,8 +1518,8 @@
         s = set()
         for u in repo._phasecache._phasesets[1:]:
             s.update(u)
-        # XXX we should turn this into a baseset instead of a set, smartset may
-        # do some optimisations from the fact this is a baseset.
+        s = baseset(s - repo.changelog.filteredrevs)
+        s.sort()
         return subset & s
     else:
         phase = repo._phasecache.phase