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 | ||
---|---|---|
415 | We already have self.unlog doing the same here. | |
420 | the , after ui is misplaced a bit | |
699 | return tp.abort(...) here | |
791–792 | 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 (24 lines) | |||
M | tests/test-transplant.t (89 lines) |
Commit | Parents | Author | Summary | Date |
---|---|---|---|---|
7c201302f1e8 | 7c5c9c3ae46e | 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.