# HG changeset patch # User Anton Shestakov # Date 1644592813 -10800 # Node ID 4ac6ca50bb2ec045d58a65d06bd170a94518f9df # Parent e314f6207e5f04da921cc890cf67bb7b270c076d evolve: use phases.mutablephases tuple instead of draft+secret It's been introduced in 02f992ac26e9, which is a part of 4.7, the minimum version evolve currently supports. diff -r e314f6207e5f -r 4ac6ca50bb2e hgext3rd/evolve/obscache.py --- a/hgext3rd/evolve/obscache.py Fri Feb 11 18:10:51 2022 +0300 +++ b/hgext3rd/evolve/obscache.py Fri Feb 11 18:20:13 2022 +0300 @@ -433,7 +433,7 @@ def _computeobsoleteset(orig, repo): """the set of obsolete revisions""" repo = repo.unfiltered() - notpublic = repo._phasecache.getrevset(repo, (phases.draft, phases.secret)) + notpublic = repo._phasecache.getrevset(repo, phases.mutablephases) if notpublic: obscache = repo.obsstore.obscache # Since we warm the cache at the end of every transaction, the cache