( )⚙ D11976 simplemerge: use same newline detection for :mergediff as for :merge[3]

This is an archive of the discontinued Mercurial Phabricator instance.

simplemerge: use same newline detection for :mergediff as for :merge[3]
ClosedPublic

Authored by martinvonz on Jan 12 2022, 1:55 AM.

Details

Summary

The :merge and :merge3 markers used the newline style detected
from the base input. The :mergediff style always used LF as newline
character. This patch teaches :mergediff to use the same detection
as the others did.

Diff Detail

Repository
rHG Mercurial
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage