This is an archive of the discontinued Mercurial Phabricator instance.

filemerge: only raise InMemoryMergeConflictsError when running _xmerge

Authored by phillco on Dec 20 2017, 6:22 PM.



The old code here was overly broad and would raise in cases when we didn't end
up calling xmerge and resolved using an internal tool (such as when

Instead, let's swap out _xmerge if IMM is enabled and have the new tool raise
when called, which is the behavior we want.

Diff Detail

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

Event Timeline

phillco created this revision.Dec 20 2017, 6:22 PM
durin42 accepted this revision.Dec 20 2017, 8:33 PM
This revision is now accepted and ready to land.Dec 20 2017, 8:33 PM
This revision was automatically updated to reflect the committed changes.