##// END OF EJS Templates
typing: declare the `_phasesets` member of `phasecache` to be `Optional`...
Matt Harbison -
r52703:07086b3a default
parent child Browse files
Show More
@@ -387,7 +387,7 b' class phasecache:'
387 self._phaseroots: Phaseroots = loaded[0]
387 self._phaseroots: Phaseroots = loaded[0]
388 self.dirty: bool = loaded[1]
388 self.dirty: bool = loaded[1]
389 self._loadedrevslen = 0
389 self._loadedrevslen = 0
390 self._phasesets: PhaseSets = None
390 self._phasesets: Optional[PhaseSets] = None
391
391
392 def hasnonpublicphases(self, repo: "localrepo.localrepository") -> bool:
392 def hasnonpublicphases(self, repo: "localrepo.localrepository") -> bool:
393 """detect if there are revisions with non-public phase"""
393 """detect if there are revisions with non-public phase"""
General Comments 0
You need to be logged in to leave comments. Login now