mirror of
https://github.com/facebook/sapling.git
synced 2024-12-25 22:11:52 +03:00
fix eden redirect fixup properly now
Summary: ghostbooleans Apparently I didn't test for the positive case in my previous diff that introduces this check :( Reviewed By: xavierd Differential Revision: D23698179 fbshipit-source-id: 95a28cc13bff5e325214b6a398e19c821b5ae17f
This commit is contained in:
parent
d1601bdd86
commit
7f6479f790
@ -407,9 +407,8 @@ class Redirection:
|
||||
|
||||
def apply(self, checkout: EdenCheckout):
|
||||
disposition = self.remove_existing(checkout)
|
||||
if (
|
||||
disposition == RepoPathDisposition.IS_NON_EMPTY_DIR
|
||||
and self.type == RedirectionType.SYMLINK
|
||||
if disposition == RepoPathDisposition.IS_NON_EMPTY_DIR and (
|
||||
self.type == RedirectionType.SYMLINK
|
||||
or (self.type == RedirectionType.BIND and sys.platform == "win32")
|
||||
):
|
||||
# Part of me would like to show this error even if we're going
|
||||
|
Loading…
Reference in New Issue
Block a user