This is an archive of the discontinued Mercurial Phabricator instance.

rebase: use unfiltered repo when loading state
ClosedPublic

Authored by quark on Sep 6 2017, 6:26 PM.

Details

Summary

Before this patch, rebase --abort may fail to do the cleanup:

$ hg rebase --abort
rebase aborted (no revision is removed, only broken state is cleared)

The added test case makes sure --abort works in this case.

Diff Detail

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

Event Timeline

quark created this revision.Sep 6 2017, 6:26 PM

Equally important is that --continue works after this :-)

quark updated this revision to Diff 1680.Sep 7 2017, 7:17 PM
durham accepted this revision.Sep 7 2017, 8:30 PM
This revision was automatically updated to reflect the committed changes.