sapling/eden/fs/cli
Xavier Deguillard c2f13648ff cli: collect all errors while removing the repository
Summary:
On Windows, it's possible that not all files could be removed from the
repository due to some other process holding a reference to it. When that
happens the `edenfsctl rm` operation will fail. Sometimes, instead of failing
with the actual reason for why the removal failed, it throws a cryptic "list
index out of range" error.

The reason was that when the file that can't be removed is actually a
directory, the `errors` list would be empty. Since filtering the folders is a
bit silly, let's not do it.

Reviewed By: fanzeyi

Differential Revision: D25836412

fbshipit-source-id: 36f936ff9d7697dfd2f4c68d4e56bdb18b66b06a
2021-01-07 16:00:11 -08:00
..
doctor win: re-use guid for the lifetime of the checkout 2020-12-15 08:07:49 -08:00
test Update CLI tests to current "reporter" 2020-11-30 16:13:00 -08:00
__init__.py remediation of S205607 2020-07-17 17:16:13 -07:00
buck.py doctor: handle invalid contents of .buckd/pid 2020-12-14 23:18:21 -08:00
CMakeLists.txt Move eden.cli namespace to eden.fs.cli 2020-03-25 11:46:56 -07:00
cmd_util.py update eden du to display an aggregated result of all mounts. 2020-06-10 19:29:25 -07:00
config.py cli: collect all errors while removing the repository 2021-01-07 16:00:11 -08:00
configinterpolator.py apply black 20.8b1 formatting update 2020-10-14 20:21:52 -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 cli: start edenfs without inheriting the console 2020-10-30 12:32:50 -07:00
debug_posix.py suppress errors in eden - batch 1 2020-07-20 13:29:51 -07:00
debug.py cli: fix eden debug modified alias 2020-11-16 08:25:03 -08:00
filesystem.py cli: enable doctor on Windows 2020-08-28 19:49:37 -07:00
fsck.py Move cli/ directory from eden/ to eden/fs (Without changing namespace) 2020-03-25 11:18:30 -07:00
hg_util.py suppress errors in eden - batch 1 2020-12-15 15:22:22 -08:00
logfile.py Update pyre version for eden 2020-04-23 12:09:39 -07:00
main.py win: re-use guid for the lifetime of the checkout 2020-12-15 08:07:49 -08: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 externally log prefetch profile deactivation 2020-12-09 09:12:37 -08:00
prefetch.py Skip metadata prefetch in eden prefetch 2020-11-13 11:51:39 -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 rage: use registry to find Windows version 2020-12-16 17:21:13 -08:00
redirect.py win: re-use guid for the lifetime of the checkout 2020-12-15 08:07:49 -08:00
stats_print.py remove stats memory command 2020-05-05 12:09:11 -07:00
stats.py update stats local-store column list 2020-09-30 15:16:00 -07:00
subcmd.py allow async subcmd run functions 2020-06-22 11:27:11 -07:00
systemd_service.py make systemd management functions explicitly async 2020-07-07 11:31:33 -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 fix eden top on mac 2020-11-10 15:30:29 -08:00
trace_cmd.py cli: allow compiling on Windows with Buck 2021-01-04 11:15:54 -08:00
trace.py rename EdenInstance.get_thrift_client to get_thrift_client_legacy 2020-09-17 13:25:00 -07:00
ui.py Convert type check targets in eden to use configuration 2020-05-02 21:16:55 -07:00
util.py hg: unset DYLD_* environment variables 2021-01-05 14:05:21 -08: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