equal
deleted
inserted
replaced
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 |