diff mercurial/phases.py @ 38158:4e790f0966fc

phases: define an official tuple of phases we do not share Same motivation as for `mutablephases`, having a single definition helps with updating phases logic.
author Boris Feld <boris.feld@octobus.net>
date Tue, 22 May 2018 18:10:37 +0200
parents 02f992ac26e9
children 36ba5dba372d
line wrap: on
line diff
--- a/mercurial/phases.py	Tue May 22 18:10:00 2018 +0200
+++ b/mercurial/phases.py	Tue May 22 18:10:37 2018 +0200
@@ -127,6 +127,7 @@
 trackedphases = allphases[1:]
 phasenames = ['public', 'draft', 'secret']
 mutablephases = tuple(allphases[1:])
+remotehiddenphases = tuple(allphases[2:])
 
 def _readroots(repo, phasedefaults=None):
     """Read phase roots from disk