Show More
@@ -58,7 +58,9 b' def computemutable(repo):' | |||||
58 | assert not repo.changelog.filteredrevs |
|
58 | assert not repo.changelog.filteredrevs | |
59 | # fast check to avoid revset call on huge repo |
|
59 | # fast check to avoid revset call on huge repo | |
60 | if util.any(repo._phasecache.phaseroots[1:]): |
|
60 | if util.any(repo._phasecache.phaseroots[1:]): | |
61 | return frozenset(repo.revs('draft() + secret()')) |
|
61 | getphase = repo._phasecache.phase | |
|
62 | maymutable = filteredrevs(repo, 'impactable') | |||
|
63 | return frozenset(r for r in maymutable if getphase(repo, r)) | |||
62 | return frozenset() |
|
64 | return frozenset() | |
63 |
|
65 | |||
64 | def computeimpactable(repo): |
|
66 | def computeimpactable(repo): |
General Comments 0
You need to be logged in to leave comments.
Login now