equal
deleted
inserted
replaced
679 for node in outgoing.missingheads: |
679 for node in outgoing.missingheads: |
680 ctx = unfi[node] |
680 ctx = unfi[node] |
681 if ctx.obsolete(): |
681 if ctx.obsolete(): |
682 raise error.Abort(mso % ctx) |
682 raise error.Abort(mso % ctx) |
683 elif ctx.troubled(): |
683 elif ctx.troubled(): |
684 raise error.Abort(mst[ctx.troubles()[0]] % ctx) |
684 # TODO print more than one instability in the abort |
|
685 # message |
|
686 raise error.Abort(mst[ctx.instabilities()[0]] % ctx) |
685 |
687 |
686 discovery.checkheads(pushop) |
688 discovery.checkheads(pushop) |
687 return True |
689 return True |
688 |
690 |
689 # List of names of steps to perform for an outgoing bundle2, order matters. |
691 # List of names of steps to perform for an outgoing bundle2, order matters. |