##// END OF EJS Templates
phases: drop set building in `hasnonpublicphases`...
marmoute -
r52309:0c04074f default
parent child Browse files
Show More
@@ -382,8 +382,7 b' class phasecache:'
382
382
383 def hasnonpublicphases(self, repo: "localrepo.localrepository") -> bool:
383 def hasnonpublicphases(self, repo: "localrepo.localrepository") -> bool:
384 """detect if there are revisions with non-public phase"""
384 """detect if there are revisions with non-public phase"""
385 repo = repo.unfiltered()
385 # XXX deprecate the unused repo argument
386 self._ensure_phase_sets(repo)
387 return any(
386 return any(
388 revs for phase, revs in self._phaseroots.items() if phase != public
387 revs for phase, revs in self._phaseroots.items() if phase != public
389 )
388 )
General Comments 0
You need to be logged in to leave comments. Login now