This is an archive of the discontinued Mercurial Phabricator instance.

rebase: preserve working copy when redoing in-mem rebase on disk
ClosedPublic

Authored by martinvonz on Dec 3 2018, 12:50 PM.

Details

Summary

When in-memory rebase runs into conflicts, we retry it on disk. But
before we do that, we abort the in-memory rebase. That is done because
even though it's mostly in memory, there are still a few state files
written (e.g. the merge state). We should make it not write those
files so we don't need to abort, but for the stable branch, let's
explicitly clear the state we need to clear instead of running the
usual abort code.

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.