This is an archive of the discontinued Mercurial Phabricator instance.

mergestate: introduce a new ACTION_KEEP_NEW

Authored by pulkit on Sep 9 2020, 9:43 AM.



ACTION_KEEP is overloaded and it's hard to figure out how we end up with this
KEEP, what was the state of things.

In a previous patch, we introduced ACTION_KEEP_ABSENT which represents files
which are kept absent in the working directory.

There is another special case where we keep the file when it's not present on
both ancestor and remote side. We introduce a dedicated action for that.

The goal is to use these information to make bid merge smarter.

Diff Detail

rHG Mercurial
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.