quark commandeered this revision.
quark added a reviewer: ryanmce.
quark added a comment.
Not going to add another module.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D2576
To: quark, #hg-reviewers, ryanmce
Cc: durin42, quark, mercurial-devel
_
durin42 added inline comments.
INLINE COMMENTS
> setup.py:223
> # import py2exe's patched Distribution class
> -from distutils.core import Distribution
> +from distutils.core import Distribution # noqa: F811
> except ImportError:
wat?
REPOSITORY
rHG Mercurial
REVISION DETAIL
quark added a comment.
Traditionally things under `mercurial.cext` has a pure equivalent. So it's
cleaner to either make the changes directly in `mercurial.cext.bdiff`, or
`mercurial/bdiff.c`. Or add a xdiff pure shim.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.
ryanmce created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
Implement a `mercurial.cext.xdiff` module that exposes the xdiff algorithm.
`xdiff.blocks` should be a drop-in replacement for `bdiff.blocks`.
In theory we