sapling/eden/fs/cli
Mark Juggurnauth-Thomas 02c0bfc9e3 make hg inform edenfs of newly created root manifests
Summary:
If Mercurial asks EdenFS to update to a commit that it has just created, this
can cause a long delay while EdenFS tries to import the commit.

EdenFS needs to resolve the commit to a root manifest.  It does this via the
import helper, but the import helper won't know about the commit until it is
restarted, which takes a long time.

To fix this, we add an optional "root manifest" parameter to the checkout or
reset parents thrift calls.  This allows the Mercurial client to inform EdenFS
of the root manifest that it already knows about, allowing EdenFS to skip this
step.

Reviewed By: chadaustin

Differential Revision: D29845604

fbshipit-source-id: 61736d84971cd2dd9a8fdaa29a1578386246e4bf
2021-07-29 10:01:02 -07:00
..
doctor make hg inform edenfs of newly created root manifests 2021-07-29 10:01:02 -07:00
test cli: enable tree overlay for Windows users 2021-04-19 20:14:22 -07:00
trace add edenfsctl trace fs support for nfs 2021-06-29 17:50:25 -07:00
__init__.py remediation of S205607 2020-07-17 17:16:13 -07:00
buck.py cli: fix buckversion collection on Windows 2021-07-07 09:04:00 -07:00
CMakeLists.txt Move eden.cli namespace to eden.fs.cli 2020-03-25 11:46:56 -07:00
cmd_util.py Changing eden/Eden/edenfs/Edenfs in the help and other user visible texts to EdenFS 2021-07-06 12:17:20 -07:00
config.py Let eden cli support RE-CAS store 2021-07-20 18:50:03 -07:00
configinterpolator.py cli: enable pyre-strict for configinterpolator.py 2021-05-19 19:27:06 -07:00
configutil.py Convert type check targets in eden to use configuration 2020-05-08 15:24:57 -07:00
daemon_util.py win: add eden.exe to the package 2020-09-08 16:33:55 -07:00
daemon.py perserve missing env var edenfs environment 2021-07-26 20:39:28 -07:00
debug_posix.py Changing eden/Eden/edenfs/Edenfs in the help and other user visible texts to EdenFS 2021-07-06 12:17:20 -07:00
debug_windows.py suppress errors in fbcode/eden - batch 1 2021-07-21 17:40:14 -07:00
debug.py cli support for ActivityRecorder 2021-07-23 12:32:25 -07:00
filesystem.py cli: enable pyre-strict for filesystem.py 2021-05-19 19:27:06 -07:00
fsck.py cli: enable pyre-strict for fsck.py 2021-05-19 19:27:07 -07:00
hg_util.py suppress errors in eden - batch 1 2020-12-15 15:22:22 -08:00
logfile.py cli: enable pyre-strict for logfile.py 2021-05-19 19:27:07 -07:00
main.py Combine eden debug log and eden logs 2021-07-21 13:04:49 -07:00
mtab.py Move eden.cli namespace to eden.fs.cli 2020-03-25 11:46:56 -07:00
overlay.py apply pyfmt with usort to opted-in sources 2020-11-10 21:25:54 -08:00
prefetch_profile.py Changing eden/Eden/edenfs/Edenfs in the help and other user visible texts to EdenFS 2021-07-06 12:17:20 -07:00
prefetch.py clean up python in prefetch cli 2021-07-22 13:01:57 -07:00
prjfs.py cli: add debug state for checking projectedfs file state 2021-03-10 10:05:42 -08:00
proc_utils_win.py service: unify startup on Windows/Linux/macOS 2020-10-22 16:24:17 -07:00
proc_utils.py apply black 20.8b1 formatting update 2020-10-14 20:21:52 -07:00
rage.py List env variables in eden rage 2021-07-15 20:22:06 -07:00
redirect.py redirections: handle ValueError from readlink on Windows 2021-07-22 15:39:17 -07:00
stats_print.py remove stats memory command 2020-05-05 12:09:11 -07:00
stats.py Changing eden/Eden/edenfs/Edenfs in the help and other user visible texts to EdenFS 2021-07-06 12:17:20 -07:00
subcmd.py allow async subcmd run functions 2020-06-22 11:27:11 -07:00
systemd_service.py Changing eden/Eden/edenfs/Edenfs in the help and other user visible texts to EdenFS 2021-07-06 12:17:20 -07:00
systemd.py apply black 20.8b1 formatting update 2020-10-14 20:21:52 -07:00
tabulate.py apply black 20.8b1 formatting update 2020-10-14 20:21:52 -07:00
telemetry.py apply black 20.8b1 formatting update 2020-10-14 20:21:52 -07:00
top.py collect memory and disk fetch counts 2021-07-21 21:37:20 -07:00
trace_cmd.py strace: add C++ implementation 2021-06-17 12:07:20 -07:00
trace.py Changing eden/Eden/edenfs/Edenfs in the help and other user visible texts to EdenFS 2021-07-06 12:17:20 -07:00
ui.py Convert type check targets in eden to use configuration 2020-05-02 21:16:55 -07:00
util.py Let eden cli support RE-CAS store 2021-07-20 18:50:03 -07:00
version.py update edenfsctl to report the compile-time version 2020-04-22 12:48:48 -07:00
win_ui.py Move cli/ directory from eden/ to eden/fs (Without changing namespace) 2020-03-25 11:18:30 -07:00