mirror of
https://github.com/facebook/sapling.git
synced 2024-10-04 22:07:44 +03:00
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:
parent
7f7f4c4a32
commit
bee4ae0529
@ -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)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user