Mercurial > public > mercurial-scm > hg
diff mercurial/scmutil.py @ 49450:b57c95a0f5f9
phase: introduce a dedicated function to check for the archived phase
The internal-phase is "ready to use" since its introduce. However, some
question remains around the `archived` phase. So it seem safer to move them to
separated configuration and requirements. This changeset is a first of a small
series doing this.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Tue, 16 Aug 2022 18:20:42 +0200 |
parents | 2e726c934fcd |
children | 4bd12c0f531e 566f7dd563c1 |
line wrap: on
line diff
--- a/mercurial/scmutil.py Wed Apr 20 19:24:39 2022 +0200 +++ b/mercurial/scmutil.py Tue Aug 16 18:20:42 2022 +0200 @@ -1191,7 +1191,7 @@ obsolete.createmarkers( repo, rels, operation=operation, metadata=metadata ) - elif phases.supportinternal(repo) and mayusearchived: + elif phases.supportarchived(repo) and mayusearchived: # this assume we do not have "unstable" nodes above the cleaned ones allreplaced = set() for ns in replacements.keys():