sapling/eden/scm
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
..
contrib xdiff: renamed third-party xdiff functions 2020-07-09 01:20:32 -07:00
distutils_rust eden/scm: provide getdeps.py way of building eden/scm on GitHub 2020-07-02 17:53:37 -07:00
doc py3: fix test-help.t 2020-04-09 18:25:54 -07:00
edenscm xdiff: renamed third-party xdiff functions 2020-07-09 01:20:32 -07:00
edenscmnative pyrevisionstore: do not abort on partial fetches 2020-07-07 19:44:01 -07:00
exec configs: move fbrules to a Facebook only part of the crate 2020-05-01 13:17:21 -07:00
i18n check-code: convert to Python 3 2020-05-07 09:07:50 -07:00
lib xdiff: renamed third-party xdiff functions 2020-07-09 01:20:32 -07:00
newdoc newdoc: Add mutation and visibility documentation 2020-03-20 04:09:32 -07:00
pystubs repoview: further remove repoview references 2020-07-06 14:04:27 -07:00
slides Eliminate obsolete since-last-arc-diff flag 2020-04-14 09:09:12 -07:00
tests revlog: turn on head-based-commit-transaction for tests 2020-07-08 14:33:58 -07:00
.editorconfig Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
.flake8 Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
.gitignore run-tests: make output format friendly for adhoc scripts 2020-06-10 19:29:59 -07:00
COPYING Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
gen_version.py version: a Rust crate providing version information 2020-05-18 09:00:40 -07:00
hgeditor Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
Makefile eden/scm: provide getdeps.py way of building eden/scm on GitHub 2020-07-02 17:53:37 -07:00
README.rst Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
setup3.py eden/scm: provide getdeps.py way of building eden/scm on GitHub 2020-07-02 17:53:37 -07:00
setup.py eden/scm: provide getdeps.py way of building eden/scm on GitHub 2020-07-02 17:53:37 -07:00

Mercurial
=========

Mercurial is a fast, easy to use, distributed revision control tool
for software developers.

Basic install::

 $ make            # see install targets
 $ make install    # do a system-wide install
 $ hg debuginstall # sanity-check setup
 $ hg              # see help

Running without installing::

 $ make local      # build for inplace usage
 $ ./hg --version  # should show the latest version

See https://mercurial-scm.org/ for detailed installation
instructions, platform-specific notes, and Mercurial user information.