diff mercurial/obsolete.py @ 51121:80bda4254b84

unstable: do not consider internal phases when computing unstable The revisions that are not part of the "working" set by other means should not be considered for the evolution related computation. This impact the test introduced in 5f9af8422b31 as this is actually a more semantic fix of the issue.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Mon, 06 Nov 2023 23:17:10 +0100
parents 5d740f920640
children bf1d26bd5b6a
line wrap: on
line diff
--- a/mercurial/obsolete.py	Mon Nov 06 23:15:58 2023 +0100
+++ b/mercurial/obsolete.py	Mon Nov 06 23:17:10 2023 +0100
@@ -939,7 +939,7 @@
 
 def _mutablerevs(repo):
     """the set of mutable revision in the repository"""
-    return repo._phasecache.getrevset(repo, phases.mutablephases)
+    return repo._phasecache.getrevset(repo, phases.relevant_mutable_phases)
 
 
 @cachefor(b'obsolete')