( )⚙ D11077 mergestate: use dirstate.update_file API in recordupdates()

This is an archive of the discontinued Mercurial Phabricator instance.

mergestate: use dirstate.update_file API in recordupdates()
ClosedPublic

Authored by marmoute on Jul 11 2021, 7:38 AM.

Details

Summary

Let's use the new single function to replace multiple different functions. This
is part of dirstate API refactor to make it more clearer and generic so that it
can be replicated in Rust.

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

marmoute created this revision.Jul 11 2021, 7:38 AM
Alphare accepted this revision.Jul 12 2021, 5:55 AM
This revision is now accepted and ready to land.Jul 12 2021, 5:55 AM