Show More
@@ -154,6 +154,7 b' archived = 32 # non-continuous for comp' | |||||
154 | internal = 96 # non-continuous for compatibility |
|
154 | internal = 96 # non-continuous for compatibility | |
155 | allphases = (public, draft, secret, archived, internal) |
|
155 | allphases = (public, draft, secret, archived, internal) | |
156 | trackedphases = (draft, secret, archived, internal) |
|
156 | trackedphases = (draft, secret, archived, internal) | |
|
157 | not_public_phases = trackedphases | |||
157 | # record phase names |
|
158 | # record phase names | |
158 | cmdphasenames = [b'public', b'draft', b'secret'] # known to `hg phase` command |
|
159 | cmdphasenames = [b'public', b'draft', b'secret'] # known to `hg phase` command | |
159 | phasenames = dict(enumerate(cmdphasenames)) |
|
160 | phasenames = dict(enumerate(cmdphasenames)) |
@@ -2061,7 +2061,7 b' def present(repo, subset, x, order):' | |||||
2061 | @predicate(b'_notpublic', safe=True) |
|
2061 | @predicate(b'_notpublic', safe=True) | |
2062 | def _notpublic(repo, subset, x): |
|
2062 | def _notpublic(repo, subset, x): | |
2063 | getargs(x, 0, 0, b"_notpublic takes no arguments") |
|
2063 | getargs(x, 0, 0, b"_notpublic takes no arguments") | |
2064 |
return _phase(repo, subset, phases. |
|
2064 | return _phase(repo, subset, *phases.not_public_phases) | |
2065 |
|
2065 | |||
2066 |
|
2066 | |||
2067 | # for internal use |
|
2067 | # for internal use |
General Comments 0
You need to be logged in to leave comments.
Login now