Show More
@@ -127,6 +127,7 b' allphases = public, draft, secret = rang' | |||||
127 | trackedphases = allphases[1:] |
|
127 | trackedphases = allphases[1:] | |
128 | phasenames = ['public', 'draft', 'secret'] |
|
128 | phasenames = ['public', 'draft', 'secret'] | |
129 | mutablephases = tuple(allphases[1:]) |
|
129 | mutablephases = tuple(allphases[1:]) | |
|
130 | remotehiddenphases = tuple(allphases[2:]) | |||
130 |
|
131 | |||
131 | def _readroots(repo, phasedefaults=None): |
|
132 | def _readroots(repo, phasedefaults=None): | |
132 | """Read phase roots from disk |
|
133 | """Read phase roots from disk |
@@ -91,8 +91,8 b' def computeunserved(repo, visibilityexce' | |||||
91 | # fast path in simple case to avoid impact of non optimised code |
|
91 | # fast path in simple case to avoid impact of non optimised code | |
92 | hiddens = filterrevs(repo, 'visible') |
|
92 | hiddens = filterrevs(repo, 'visible') | |
93 | if phases.hassecret(repo): |
|
93 | if phases.hassecret(repo): | |
94 |
secrets = |
|
94 | secrets = repo._phasecache.getrevset(repo, phases.remotehiddenphases) | |
95 | return frozenset(hiddens | secrets) |
|
95 | return frozenset(hiddens | frozenset(secrets)) | |
96 | else: |
|
96 | else: | |
97 | return hiddens |
|
97 | return hiddens | |
98 |
|
98 |
General Comments 0
You need to be logged in to leave comments.
Login now