mercurial/phases.py
changeset 51288 8b2ea2246a5f
parent 51287 f15cb5111a1e
child 51290 f4a0806081f2
--- a/mercurial/phases.py	Tue Dec 19 21:29:34 2023 +0100
+++ b/mercurial/phases.py	Wed Dec 20 11:23:09 2023 +0100
@@ -163,7 +163,9 @@
 _fphasesentry = struct.Struct(b'>i20s')
 
 # record phase index
-public, draft, secret = range(3)  # type: int
+public: int = 0
+draft: int = 1
+secret: int = 2
 archived = 32  # non-continuous for compatibility
 internal = 96  # non-continuous for compatibility
 allphases = (public, draft, secret, archived, internal)