This is an archive of the discontinued Mercurial Phabricator instance.

shelve: directly handle the abort process

Authored by lothiraldan on Jun 5 2018, 6:56 AM.



Shelve is currently sub-contracting some of its work to the rebase extension.
In order to make shelve more independent and flexible we would like shelve to
handle the parent alignment directly.

This change starts with the simplest bits, handling the abort process. It
turns out we have all the necessary bits in the shelvestate file. So we do
not need anything from the interrupted rebase.

As a nice side effect, a test about missing shelverebasestate state file now
behave better.

Diff Detail

rHG Mercurial
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

lothiraldan created this revision.Jun 5 2018, 6:56 AM
durin42 accepted this revision.Jun 25 2018, 10:51 AM
This revision is now accepted and ready to land.Jun 25 2018, 10:51 AM
This revision was automatically updated to reflect the committed changes.