remove --silent from edenfsctl prefetch call in copytree.py

Summary:
X-link: https://github.com/facebookincubator/velox/pull/7073

`--silent` is the default mode for `edenfsctl prefetch` and the flag is deprecated. Removing this flag is a no-op

Reviewed By: xavierd

Differential Revision: D50287572

fbshipit-source-id: 76f1eaa6ce3b3c7efb58882449fd67787787b4d1
This commit is contained in:
Genevieve (Genna) Helsel 2023-10-24 14:59:38 -07:00 committed by Facebook GitHub Bot
parent 7f7f4c4a32
commit bee4ae0529

View File

@ -59,9 +59,7 @@ def prefetch_dir_if_eden(dirpath) -> None:
return
glob = f"{os.path.relpath(dirpath, root).replace(os.sep, '/')}/**"
print(f"Prefetching {glob}")
subprocess.call(
["edenfsctl", "prefetch", "--repo", root, "--silent", glob, "--background"]
)
subprocess.call(["edenfsctl", "prefetch", "--repo", root, glob, "--background"])
PREFETCHED_DIRS.add(dirpath)