HomePhabricator

merge: ensure that we always commit the mergestate

Authored by ryanmce.

Description

merge: ensure that we always commit the mergestate

In future patches, we may halt the merge process based on configuration or
user requests by raising exceptions. We need to ensure that the mergestate
is unconditionally committed even when such an exception is raised.

Depends on D930.

Differential Revision: https://phab.mercurial-scm.org/D931

Details