This is an archive of the discontinued Mercurial Phabricator instance.

diff: extract function for getting possibly re-merged parent to diff against
ClosedPublic

Authored by martinvonz on Feb 5 2021, 3:04 AM.

Details

Summary

We'll want to reuse the logic that hg diff --change with
diff.merge uses. At least hg log -p should reuse it. This patch
therefore extracts that code to a function.

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.