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.
| Lint Skipped |
| Unit Tests Skipped |
| hgext/transplant.py | ||
|---|---|---|
| 416 | We already have self.unlog doing the same here. | |
| 421 | the , after ui is misplaced a bit | |
| 705 | return tp.abort(...) here | |
| 801–802 | 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 | ||
|---|---|---|
| 418 | 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 (28 lines) | |||
| M | tests/test-transplant.t (85 lines) |
| Commit | Parents | Author | Summary | Date |
|---|---|---|---|---|
| 28ee1521c54d | 95e49c568cc0 | Taapas Agrawal | Jul 25 2019, 3:49 PM |
| 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.