##// END OF EJS Templates
phases: add a list of names usable by the phase command...
Matt Harbison -
r40615:ab893a99 default
parent child Browse files
Show More
@@ -133,8 +133,9 b' archived = HIDEABLE_FLAG'
133 allphases = range(internal + 1)
133 allphases = range(internal + 1)
134 trackedphases = allphases[1:]
134 trackedphases = allphases[1:]
135 # record phase names
135 # record phase names
136 cmdphasenames = ['public', 'draft', 'secret'] # known to `hg phase` command
136 phasenames = [None] * len(allphases)
137 phasenames = [None] * len(allphases)
137 phasenames[:3] = ['public', 'draft', 'secret']
138 phasenames[:len(cmdphasenames)] = cmdphasenames
138 phasenames[archived] = 'archived'
139 phasenames[archived] = 'archived'
139 phasenames[internal] = 'internal'
140 phasenames[internal] = 'internal'
140 # record phase property
141 # record phase property
General Comments 0
You need to be logged in to leave comments. Login now