##// END OF EJS Templates
revset: use a baseset in _notpublic()...
Pierre-Yves David -
r25619:833fa28c default
parent child Browse files
Show More
@@ -1518,8 +1518,8 b' def _notpublic(repo, subset, x):'
1518 s = set()
1518 s = set()
1519 for u in repo._phasecache._phasesets[1:]:
1519 for u in repo._phasecache._phasesets[1:]:
1520 s.update(u)
1520 s.update(u)
1521 # XXX we should turn this into a baseset instead of a set, smartset may
1521 s = baseset(s - repo.changelog.filteredrevs)
1522 # do some optimisations from the fact this is a baseset.
1522 s.sort()
1523 return subset & s
1523 return subset & s
1524 else:
1524 else:
1525 phase = repo._phasecache.phase
1525 phase = repo._phasecache.phase
General Comments 0
You need to be logged in to leave comments. Login now