sapling/eden/scm/contrib
Viet Hung Nguyen b7817ffbd8 xdiff: renamed third-party xdiff functions
Summary:
Renamed xdiff functions to avoid linking issues when using both libgit2-sys and xdiff.

When using repo_import tool (https://fburl.com/diffusion/8p6fhjt2) we have libgit2-sys dependency for importing git repos. However, when we derive blame data types, we need to use xdiff functionalities (from_no_parents: https://fburl.com/diffusion/pitukmyo -> diff_hunks: https://fburl.com/diffusion/9f8caan9 -> xdl_diff: https://fburl.com/diffusion/260x66hf). Both libgit2 and eden/scm have vendored versions of xdiff library. Therefore, libgit2-sys and eden/scm share functions with the same signatures, but have different behaviours and when we tried to derive blame, it used libgit2-sys's xdl_diff instead of eden's. This resulted in getting segfaults (https://fburl.com/paste/04gwalpo).
Note: repo_import is the first tool that has tried to import both and the first to run into this issue.

Reviewed By: StanislavGlebik

Differential Revision: D22432330

fbshipit-source-id: f2b965f3926a2dc45de1bf20e41dad70ca09cdfd
2020-07-09 01:20:32 -07:00
..
chg py3: chg: fix compatibility 2020-02-03 18:26:57 -08:00
hgsh Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
python2-winbuild Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
vim Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
whochanges Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
xdiff xdiff: renamed third-party xdiff functions 2020-07-09 01:20:32 -07:00
bdiff-torture.py Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
check-code.py infinitepush: remove legacy auto pull logic 2020-05-14 12:47:35 -07:00
check-config.py Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
check-py3-compat.py Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
clang-format-blacklist Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
dirstatenonnormalcheck.py Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
editmergeps.bat Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
editmergeps.ps1 Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
fix-code.py check-code: convert to Python 3 2020-05-07 09:07:50 -07:00
git-sl git-sl: remove Mercurial import 2020-04-02 12:32:34 -07:00
hg-ssh Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
hg-test-mode.el Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
mercurial.el Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
perf.py repoview: further remove repoview references 2020-07-06 14:04:27 -07:00
python-hook-examples.py Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
scm-prompt.sh scm-prompt.sh: optionally show dirty state of working directory 2020-05-28 10:24:52 -07:00
synthrepo.py py3 iteritems -> pycompat.iteritems 2020-02-04 15:29:39 -08:00
traceprof.py check-code: convert to Python 3 2020-05-07 09:07:50 -07:00
zsh_completion debugcomplete: show aliases with -v 2020-07-07 16:47:45 -07:00