comparison mercurial/obsolete.py @ 51122: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
comparison
equal deleted inserted replaced
51121:5d740f920640 51122:80bda4254b84
937 repo.obsstore.caches.clear() 937 repo.obsstore.caches.clear()
938 938
939 939
940 def _mutablerevs(repo): 940 def _mutablerevs(repo):
941 """the set of mutable revision in the repository""" 941 """the set of mutable revision in the repository"""
942 return repo._phasecache.getrevset(repo, phases.mutablephases) 942 return repo._phasecache.getrevset(repo, phases.relevant_mutable_phases)
943 943
944 944
945 @cachefor(b'obsolete') 945 @cachefor(b'obsolete')
946 def _computeobsoleteset(repo): 946 def _computeobsoleteset(repo):
947 """the set of obsolete revisions""" 947 """the set of obsolete revisions"""