diff -r cfff73cab721 -r b57c95a0f5f9 mercurial/scmutil.py --- 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():