sapling/eden
Saul Gutierrez 81e5df1336 config: prevent requires from the backing repo to affect symlinks and FilteredFS
Summary:
If a new repo was to be cloned with symlinks disabled on Windows, this would make the repo have a wrong config for symlinks.
In order for symlinks to be enabled for a working copy, they have to be enabled both in the EdenFS config for that checkout as well as having them inabled in hg by having `windowssymlinks` in `.hg/requires`.
Having symlinks enabled **in only one of the two** can cause really wonky behavior.

Some users were reporting having issues with symlinks being partially enabled on their working copies. This was caused by the backing repo having `windowssymlinks` enabled on the backing repo, since the requires is copied from there into the newly cloned repo.

This diff makes changes to that, preventing copying the requires file into a new one for both symlinks and FilteredFS, since both can be affected by this kind of behavior.

Reviewed By: MichaelCuevas

Differential Revision: D52311410

fbshipit-source-id: bca76757f1b9b6f2cafd4e024b8eafc0735e7e89
2023-12-19 18:09:50 -08:00
..
facebook eden 2023-10-23 09:12:58 -07:00
fs config: prevent requires from the backing repo to affect symlinks and FilteredFS 2023-12-19 18:09:50 -08:00
integration eden/integration 2023-12-15 10:57:34 -08:00
locale
mononoke Letter E CMs 2023-12-19 07:36:46 -08:00
scm progress: render non-bars for structured renderer 2023-12-19 16:10:15 -08:00
test_support Re-sync with internal repository 2023-10-11 22:09:00 -07:00
test-data Re-sync with internal repository 2023-10-11 22:09:00 -07:00
testlib Re-sync with internal repository 2023-10-11 22:09:00 -07:00
.clang-tidy clang-tidy: disable facebook-hte-ContextDependentStaticInit 2022-11-04 15:33:50 -07:00
.gitignore
.mononoke_test_file test push 2022-01-06 05:57:35 -08:00
BUILD_MODE.bzl Enable warnings for shadow definitions for clang/gcc 2023-10-27 16:29:22 -07:00
defs.bzl integration: use universal Mac binary 2023-10-27 14:45:05 -07:00
Eden.project.toml
TARGETS Re-sync with internal repository 2023-10-11 22:09:00 -07:00