mercurial/phases.py
changeset 43763 d18cf63e1dbd
parent 43604 505a2bc53759
child 44007 9c1fd975e9ac
--- a/mercurial/phases.py	Wed Nov 20 09:55:59 2019 -0500
+++ b/mercurial/phases.py	Thu Nov 21 15:31:33 2019 -0500
@@ -134,7 +134,7 @@
 public, draft, secret = range(3)
 internal = INTERNAL_FLAG | HIDEABLE_FLAG
 archived = HIDEABLE_FLAG
-allphases = range(internal + 1)
+allphases = list(range(internal + 1))
 trackedphases = allphases[1:]
 # record phase names
 cmdphasenames = [b'public', b'draft', b'secret']  # known to `hg phase` command