This is an archive of the discontinued Mercurial Phabricator instance.

cleanup: remove redundant clearing of mergestate in rebase and shelve
ClosedPublic

Authored by martinvonz on Feb 28 2020, 2:57 PM.

Details

Summary

repo.commit() now clears the merge state even if it ends up not
creating a commit because there were no changes to commit.

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

martinvonz created this revision.Feb 28 2020, 2:57 PM
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.