Show More
@@ -431,6 +431,7 b' def _postprocessobsolete(pushop, futurec' | |||
|
431 | 431 | repo = pushop.repo |
|
432 | 432 | unfi = repo.unfiltered() |
|
433 | 433 | tonode = unfi.changelog.node |
|
434 | torev = unfi.changelog.rev | |
|
434 | 435 | public = phases.public |
|
435 | 436 | getphase = unfi._phasecache.phase |
|
436 | 437 | ispublic = (lambda r: getphase(unfi, r) == public) |
@@ -460,8 +461,7 b' def _postprocessobsolete(pushop, futurec' | |||
|
460 | 461 | while localcandidate: |
|
461 | 462 | nh = localcandidate.pop() |
|
462 | 463 | # run this check early to skip the evaluation of the whole branch |
|
463 | if (nh in futurecommon | |
|
464 | or unfi[nh].phase() <= public): | |
|
464 | if (nh in futurecommon or ispublic(torev(nh))): | |
|
465 | 465 | newhs.add(nh) |
|
466 | 466 | continue |
|
467 | 467 |
General Comments 0
You need to be logged in to leave comments.
Login now