Show More
@@ -577,7 +577,12 b' def _pushsyncphase(pushop):' | |||
|
577 | 577 | def _localphasemove(pushop, nodes, phase=phases.public): |
|
578 | 578 | """move <nodes> to <phase> in the local source repo""" |
|
579 | 579 | if pushop.locallocked: |
|
580 | phases.advanceboundary(pushop.repo, phase, nodes) | |
|
580 | tr = pushop.repo.transaction('push-phase-sync') | |
|
581 | try: | |
|
582 | phases.advanceboundary(pushop.repo, phase, nodes) | |
|
583 | tr.close() | |
|
584 | finally: | |
|
585 | tr.release() | |
|
581 | 586 | else: |
|
582 | 587 | # repo is not locked, do not change any phases! |
|
583 | 588 | # Informs the user that phases should have been moved when |
General Comments 0
You need to be logged in to leave comments.
Login now