mercurial/phases.py
changeset 49475 0c70d888a484
parent 49474 b57c95a0f5f9
child 50421 92f71d40fc1d
equal deleted inserted replaced
49474:b57c95a0f5f9 49475:0c70d888a484
   179 
   179 
   180 
   180 
   181 def supportarchived(repo):
   181 def supportarchived(repo):
   182     # type: (localrepo.localrepository) -> bool
   182     # type: (localrepo.localrepository) -> bool
   183     """True if the archived phase can be used on a repository"""
   183     """True if the archived phase can be used on a repository"""
   184     return requirements.INTERNAL_PHASE_REQUIREMENT in repo.requirements
   184     return requirements.ARCHIVED_PHASE_REQUIREMENT in repo.requirements
   185 
   185 
   186 
   186 
   187 def _readroots(repo, phasedefaults=None):
   187 def _readroots(repo, phasedefaults=None):
   188     # type: (localrepo.localrepository, Optional[Phasedefaults]) -> Tuple[Phaseroots, bool]
   188     # type: (localrepo.localrepository, Optional[Phasedefaults]) -> Tuple[Phaseroots, bool]
   189     """Read phase roots from disk
   189     """Read phase roots from disk