##// END OF EJS Templates
repoview: use the phasecache directly to determine mutable revisions...
Joerg Sonnenberger -
r45675:672ad1f6 default
parent child Browse files
Show More
@@ -130,9 +130,7 b' def computemutable(repo, visibilityexcep'
130 assert not repo.changelog.filteredrevs
130 assert not repo.changelog.filteredrevs
131 # fast check to avoid revset call on huge repo
131 # fast check to avoid revset call on huge repo
132 if repo._phasecache.hasnonpublicphases(repo):
132 if repo._phasecache.hasnonpublicphases(repo):
133 getphase = repo._phasecache.phase
133 return frozenset(repo._phasecache.getrevset(repo, phases.mutablephases))
134 maymutable = filterrevs(repo, b'base')
135 return frozenset(r for r in maymutable if getphase(repo, r))
136 return frozenset()
134 return frozenset()
137
135
138
136
General Comments 0
You need to be logged in to leave comments. Login now