Mercurial > public > mercurial-scm > hg
diff mercurial/phases.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 | 18c8c18993f0 |
children | 9d3721552b6c |
line wrap: on
line diff
--- a/mercurial/phases.py Mon Nov 06 23:15:58 2023 +0100 +++ b/mercurial/phases.py Mon Nov 06 23:17:10 2023 +0100 @@ -165,6 +165,7 @@ phasenumber2.update({b'%i' % phase: phase for phase in phasenames}) # record phase property mutablephases = (draft, secret, archived, internal) +relevant_mutable_phases = (draft, secret) # could be obsolete or unstable remotehiddenphases = (secret, archived, internal) localhiddenphases = (internal, archived)