sapling/eden/fs
Wez Furlong e30628c964 hg: add eden import helper debug command
Summary:
In our linux deployments it was relatively straightforward
to import the mercurial runtime from a python process running the
system python executable.   Our macOS deployments are a lot more
complex because they do not use the system python and do not install
the mercurial python packages in the python path of the target
python executable.

It is simpler to move the import helper functional into a mercurial
command that we can invoke instead of our own helper program.

This diff moves the script to be a debug command and adjusts its
argument parsing to match the mercurial dispatcher requirements.

There are some stylistic mismatches between this code and the
rest of mercurial; I'm suggesting that we ignore those as the
medium term solution is that this command is replaced by eden
directly consuming the rust config parsing code and by native
rust code to perform the data fetching that we need.

Reviewed By: pkaush

Differential Revision: D13522225

fbshipit-source-id: 28d751c5de4228491924df4df88ab382cfbf146a
2019-01-16 19:44:21 -08:00
..
benchharness standardize some of the benchmark infrastructure 2018-11-13 15:27:50 -08:00
config make the Hash constructors constexpr 2018-12-17 19:15:36 -08:00
fuse eden: remove fuse request interrupt code, track requests by internal id 2019-01-16 14:35:33 -08:00
inodes track EdenMounts while they are initializing 2019-01-16 19:35:09 -08:00
journal explicitly complete StreamPublisher stream on destruct 2018-10-01 13:21:59 -07:00
model make the Hash constructors constexpr 2018-12-17 19:15:36 -08:00
rocksdb add CMake build files 2018-04-30 14:37:46 -07:00
service track EdenMounts while they are initializing 2019-01-16 19:35:09 -08:00
sqlite avoid leaking the sqlite3 db if we fail to open it 2018-06-20 16:36:22 -07:00
store hg: add eden import helper debug command 2019-01-16 19:44:21 -08:00
takeover eden: handlemap.thrift was removed, but not from cmake build 2018-12-15 13:43:31 -08:00
testharness convert BlobAccess tests to use FakeBackingStore 2019-01-10 16:28:05 -08:00
tracing eden: add missing cmake for eden/fs/tracing 2018-12-15 19:11:05 -08:00
utils Make ProcessNameCache optional for ProcessAccessLog 2018-12-21 15:43:51 -08:00
CMakeLists.txt eden: add missing cmake for eden/fs/tracing 2018-12-15 19:11:05 -08:00