mirror of
https://github.com/facebook/sapling.git
synced 2024-10-05 14:28:17 +03:00
26b1e9eb41
Summary: The methods mentioned in the title changed a bit on Windows, now allowing them to respond that a TreeEntry can be a symlink. In order to gate this change, on Windows now there is a helper method that is used for reverting the changes for `TreeEntry:: getType` to its previous behavior, in order to be able to tell whether symlinks are enabled for the current Eden checkout or not. Where possible, (which is in most places) the config for whether symlinks are enabled or not on the Eden checkout is passed down. The non-gated changes are kept since in those cases we actually want to register that a TreeEntry is actually a symlink, even when symlinks are "not enabled". Originally this was intended to be part of D44218035, but was split for clarity. Reviewed By: xavierd Differential Revision: D47326228 fbshipit-source-id: be6cfae6626bf3a32aa119d25bf8b5fe6a549898 |
||
---|---|---|
.. | ||
test | ||
types | ||
CachedParsedFileMonitor.h | ||
Cargo.toml | ||
CheckoutConfig.cpp | ||
CheckoutConfig.h | ||
CMakeLists.txt | ||
ConfigSetting.h | ||
ConfigSource.h | ||
ConfigVariables.cpp | ||
ConfigVariables.h | ||
eden_config.thrift | ||
EdenConfig.cpp | ||
EdenConfig.h | ||
FieldConverter.cpp | ||
FieldConverter.h | ||
FileChangeMonitor.cpp | ||
FileChangeMonitor.h | ||
HgObjectIdFormat.cpp | ||
HgObjectIdFormat.h | ||
MountProtocol.cpp | ||
MountProtocol.h | ||
ParentCommit.cpp | ||
ParentCommit.h | ||
ReaddirPrefetch.cpp | ||
ReaddirPrefetch.h | ||
ReloadableConfig.cpp | ||
ReloadableConfig.h | ||
thrift_build.rs | ||
thrift_lib.rs | ||
TomlConfig.h | ||
TomlFileConfigSource.cpp | ||
TomlFileConfigSource.h |