diff -r 5b592ac502ef -r 02f992ac26e9 mercurial/obsolete.py --- a/mercurial/obsolete.py Mon May 21 17:33:50 2018 +0200 +++ b/mercurial/obsolete.py Tue May 22 18:10:00 2018 +0200 @@ -853,7 +853,7 @@ def _mutablerevs(repo): """the set of mutable revision in the repository""" - return repo._phasecache.getrevset(repo, (phases.draft, phases.secret)) + return repo._phasecache.getrevset(repo, phases.mutablephases) @cachefor('obsolete') def _computeobsoleteset(repo):