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
Summary:
Relative paths can not be calculated between drives, so we should not realpath
here because we don't realpath elsewhere.
Reviewed By: MichaelCuevas
Differential Revision: D38378132
fbshipit-source-id: a20d5c5273a2d09166792fbb9862f67d8040fdd3
Summary:
There's no reason to block a getdeps build on prefetching its sources,
so issue all prefetches in the background.
Reviewed By: genevievehelsel
Differential Revision: D33855396
fbshipit-source-id: 1ba01b0587e9bc0e74e6bba5b8571af76bf2516d
Summary:
Paths are not necessarily legal glob syntax. In particular, backslash
is used for escaping. This caused problems on Windows, where we tried
to pass a backslash-delimited path into `eden prefetch --no-prefetch`.
Reviewed By: xavierd
Differential Revision: D25072784
fbshipit-source-id: 9ce8e5ccc8f28581512c39d04922889da0bc1bf6
Summary:
Now that we've deployed the new eden build with globfiles
support, we can enable the use of eden prefetch in the getdeps
build when running inside an EdenFS mount on Windows.
Reviewed By: fanzeyi
Differential Revision: D21692689
fbshipit-source-id: b42e778901976cf0385ec31056c227b2049162dc
Summary:
I noticed that copytree was taking forever and realized
that it wasn't issuing a prefetch call so I started looking in here;
this commit teaches getdeps how to recognize and EdenFS repo on
Windows but skips calling prefetch on Windows.
Currently the prefetch implementation triggers some very slow
processing in mercurial that is slower to start than just
enumerating the files in the opensource build.
It turned out that my original problem was just that my credentials
had expired and we weren't surfacing that error on Windows yet.
Reviewed By: simpkins
Differential Revision: D20755905
fbshipit-source-id: 8d3695cdd1f04199d1d409895482b8c706285d5f
Summary:
currently, the implementation of `eden prefetch` calls into
a mercurial function that is overly eager in making network connections,
which results in what should be a fast NOP second prefetch call taking
more time than is desirable.
This diff adds a little cache to avoid repeatedly calling prefetch
for the same directory more than once for the life of the getdeps
process.
Given the usage pattern of getdeps it is OK that we don't provide
a way to invalidate this cache.
Reviewed By: fanzeyi
Differential Revision: D18005408
fbshipit-source-id: 0ec3f477da1043a5a715704b512c81fcfaa0acde
Summary:
this module adds some functions that help with copying
directory trees. The copytree function is aware of eden and will
issue a prefetch prior to walking the directory.
Reviewed By: simpkins
Differential Revision: D14691006
fbshipit-source-id: 079bf850756f61aca17978453d07bc73b2f91788