This adds fuctionality for --stop flag to transplant.
A new method stop is added to transplanter class
containing logic to abort transplant.
Tests are updated as shown.
This adds fuctionality for --stop flag to transplant.
A new method stop is added to transplanter class
containing logic to abort transplant.
Tests are updated as shown.
| Automatic diff as part of commit; lint not applicable. |
| Automatic diff as part of commit; unit tests not applicable. |
| hgext/transplant.py | ||
|---|---|---|
| 415 | We already have self.unlog doing the same here. | |
| 420 | the , after ui is misplaced a bit | |
| 699 | return tp.abort(...) here | |
| 792–793 | IIUC, we don't need to manually pass statushint and cmdhint now. | |
| tests/test-transplant.t | ||
| 466 | A better candidate here will be to show hg status -v as that will show whether there is an unfinished transplant or not. | |
| hgext/transplant.py | ||
|---|---|---|
| 417 | canresume above can be used for doing this check. | |
Sorry for missing this earlier, but what happens when we are transplanting mutliple revisions and we have conflicts in a revision after the first one?
| Path | Packages | |||
|---|---|---|---|---|
| M | hgext/transplant.py (25 lines) | |||
| M | tests/test-transplant.t (89 lines) |
| Status | Author | Revision | |
|---|---|---|---|
| Closed | taapas1128 | ||
| Abandoned | taapas1128 | ||
| Closed | taapas1128 | ||
| Closed | taapas1128 | ||
| Accepted | taapas1128 | ||
| Accepted | taapas1128 | ||
| Needs Revision | taapas1128 |
We already have self.unlog doing the same here.