sapling/eden/integration
Wez Furlong ab03aa78c2 eden: hg_import_helper.py execs hg debugedenimporthelper
Summary:
Now that `hg debugedenimporthelper` has been released for
a little while, we can remove the bundled implementation of it from
the eden release.

However, we cannot remove the script itself as there are users
with long running edenfs instances that pre-date the knowledge
of `hg debugedenimporthelper`.   So, as a compatibility shim,
this diff redirects `hg_import_helper.py` and has it exec the
command in mercurial.

For extra fun, our own integration tests rely on being able
to import `hg_import_helper.py` and override portions of it,
so we cannot remove its implementation from the codebase just
yet either.

So this diff:

* Introduces `proxy_import_helper.py` which execs `hg debugedenimporthelper`
* Installs `proxy_import_helper.py` as `hg_import_helper.py` in the rpm
* Leave `hg_import_helper.py` as-is in the tree for now.

Reviewed By: simpkins

Differential Revision: D13970332

fbshipit-source-id: 717dc86a880fbbbe4a7e801a8b748abd053c7f7c
2019-02-14 22:27:00 -08:00
..
fsck Update pyre version for eden 2019-01-28 13:36:41 -08:00
helpers update fake_edenfs to return its original arguments via thrift 2019-01-11 18:31:48 -08:00
hg Remove tests about hg branches 2019-02-12 21:42:28 -08:00
lib eden: hg_import_helper.py execs hg debugedenimporthelper 2019-02-14 22:27:00 -08:00
snapshot Update pyre version for eden 2019-01-28 13:36:41 -08:00
basic_test.py move creation of the .hg directory into the Eden CLI 2018-12-19 15:34:01 -08:00
chown_test.py add member type annotations to make pyre happy 2018-11-14 13:03:09 -08:00
clone_test.py update eden list to report the mount state information 2019-01-25 16:38:28 -08:00
corrupt_overlay_test.py add type annotations to most of the integration test functions 2018-11-16 19:47:48 -08:00
debug_getpath_test.py fix str/bytes conversion for thrift API calls 2018-11-14 13:03:09 -08:00
doteden_test.py update the doteden_test code to use pathlib.Path 2018-11-12 20:25:29 -08:00
edenclient_test.py enable typechecking on Eden Python libraries 2018-08-03 15:07:00 -07:00
fsck_test.py update eden fsck to support fixing invalid inodes 2018-11-26 12:28:52 -08:00
glob_test.py define paths as binary rather than strings in the thrift interface 2018-08-11 01:35:49 -07:00
health_test.py upgrade fbcode/eden version 2019-01-10 16:13:47 -08:00
help_test.py improve the run_unchecked() API in the integration tests 2018-07-19 12:42:53 -07:00
hypothesis_simple_test.py move creation of the .hg directory into the Eden CLI 2018-12-19 15:34:01 -08:00
info_test.py remove support for non-toml configs 2018-10-10 12:49:16 -07:00
linux_cgroup_test.py Isolate systemd service cgroups on Sandcastle 2018-11-28 11:47:44 -08:00
materialized_query_test.py move creation of the .hg directory into the Eden CLI 2018-12-19 15:34:01 -08:00
mmap_test.py add member type annotations to make pyre happy 2018-11-14 13:03:09 -08:00
mount_test.py update eden list to report the mount state information 2019-01-25 16:38:28 -08:00
oexcl_test.py Upgrade to 18.5b1 2018-05-30 01:11:47 -07:00
patch_test.py Upgrade to 18.5b1 2018-05-30 01:11:47 -07:00
persistence_test.py have Overlay track nextInodeNumber_ instead of InodeMap 2018-05-31 01:46:15 -07:00
rage_test.py Always run doctor checks in 'eden rage' 2019-01-14 14:04:11 -08:00
rc_test.py update eden list to report the mount state information 2019-01-25 16:38:28 -08:00
remount_test.py update eden list to report the mount state information 2019-01-25 16:38:28 -08:00
rename_test.py move creation of the .hg directory into the Eden CLI 2018-12-19 15:34:01 -08:00
repo_test.py remove support for non-toml configs 2018-10-10 12:49:16 -07:00
restart_test.py Improve Pyre workarounds for FindEXE 2019-01-18 12:31:08 -08:00
sed_test.py Upgrade to 18.5b1 2018-05-30 01:11:47 -07:00
service_log_test.py Make systemd service log to file 2018-12-17 15:14:55 -08:00
setattr_test.py Upgrade to 18.5b1 2018-05-30 01:11:47 -07:00
stale_test.py add type annotations to most of the integration test functions 2018-11-16 19:47:48 -08:00
start_test.py update eden list to report the mount state information 2019-01-25 16:38:28 -08:00
stop_test.py add an eden stop --kill option 2019-01-22 13:03:55 -08:00
systemd_fixture_test.py Test eden start failure messages with systemd integration 2019-01-18 14:30:53 -08:00
systemd_test.py Improve error message if XDG_RUNTIME_DIR is unset (systemd) 2019-01-18 15:42:20 -08:00
takeover_test.py update Eden's lock file with the new pid upon a graceful restart 2019-01-22 10:47:07 -08:00
thrift_test.py Fix crash for getSHA1(./hello) 2018-12-07 16:34:42 -08:00
unixsocket_test.py Upgrade to 18.5b1 2018-05-30 01:11:47 -07:00
unlink_test.py Upgrade to 18.5b1 2018-05-30 01:11:47 -07:00
xattr_test.py Update mypy to 0.641 2018-11-06 14:52:19 -08:00