This is an archive of the discontinued Mercurial Phabricator instance.

mergestate: extract overridable methods for making/restoring file backups
ClosedPublic

Authored by martinvonz on Sep 17 2020, 4:10 PM.

Details

Summary

In-memory merge currently still uses on-disk mergestate. That's mostly
harmless (I don't think I've seen any problem it's actually
caused). It's still a little weird. I'm planning to add an in-memory
mergestate, which will be used with overlayworkingctx. This patch
prepares for that by extracting that logic, so it's easier to change
per subclass.

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.