This is an archive of the discontinued Mercurial Phabricator instance.

rebase: handle the case when nothing to rebase (dry-run)
ClosedPublic

Authored by khanchi97 on Dec 26 2020, 8:00 AM.

Details

Summary

In dry-run mode, even when there was no rebase in progress it tried
to abort (for context, at the end of dry-run mode we abort the in-memory
performed rebase) because we were not early checking if there was any rebase
started.

Changes in test file reflect the fixed behavior.

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

khanchi97 created this revision.Dec 26 2020, 8:00 AM
pulkit accepted this revision.Dec 28 2020, 3:06 AM
This revision is now accepted and ready to land.Dec 28 2020, 3:06 AM