-
Notifications
You must be signed in to change notification settings - Fork 281
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle redirection symlink in windows: Handle
eden rm
to not restri…
…ct redirected path deletion Summary: # Background We have seen tools like Unity messing up with already existing redirection symlink by deleting and/or creating a folder/file instead of symlink. # Solution When a create/delete operation is triggered for a redirected path, handle it in a way such that redirection stay intact. # This change Not letting redirected path gets deleted will cause eden rm to fail (Ref: D64366283). Removing all redirection target entries from the checkout config for eden rm to proceed. *There could be a cornercase scenario of partial success of eden rm where redirection targets might get deleted but user can still use the repo (eden rm did not succeed). In this case, normal source control operations should work as it is. Only this feature would not work as expected, which can be fixed by running `eden redirect fixup` or `eden doctor` as it is today Differential Revision: D64424509 fbshipit-source-id: 9a6cf7c9be7fb29e8a0ffaf2a1d999b374e7299a
- Loading branch information
1 parent
3b3b7e2
commit 2b53561
Showing
4 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters