Switching to external xdiff implementation

Yuriy Chernyshov georgthegreat at gmail.com
Sat Feb 18 20:44:50 UTC 2023


Hi!

at the time mercurial uses bundled xdiff implementation which was copied
from git codebase some time ago.
So does libgit2, and an attempt to link native part of the mecrurial and
libgit2 statically (which happens in out setup) causes duplicated symbol
error issued by the linker.

We have discussed the matter with Edward Thompson, a libgit2 maintainer
(the talk took place here: https://github.com/libgit2/libgit2/pull/6437).
We can pull out the code from libgit2 into a standalone repo, but switching
mercurial to it will require some co-operation from your side.

Do you find this change convenient?
Would you switch to an external xdiff implementation upon (re)appearance of
_official_ xdiff project somewhere?

Regards,
Yuriy.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-devel/attachments/20230218/d1f51077/attachment.html>


More information about the Mercurial-devel mailing list