This is an archive of the discontinued Mercurial Phabricator instance.

xdiff: remove xemit related logic
ClosedPublic

Authored by quark on Mar 6 2018, 9:52 PM.

Details

Summary

xemit handles "diff formatting and output" with options like context lines,
whether show function names, etc. That is handled more cleanly at a higher
level in hg.

Removing context line parameters would also make the trimming logic (D2686)
cleaner and more confident. See [1].

[1]: https://github.com/git/git/commit/d2f82950a9226ae1102a7a97f03440a4bf8c6c09

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.
mercurial/thirdparty/xdiff/xdiffi.c