mercurial/phases.py
changeset 43730 d18cf63e1dbd
parent 43556 505a2bc53759
child 44004 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