From fbfbc96ff1424a66053ba78a1e470f4a8f7837f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jelmer=20Vernoo=C4=B3?= Date: Tue, 23 May 2023 19:05:40 +0100 Subject: [PATCH] Be backwards compatible with Repo derivatives --- dulwich/repo.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dulwich/repo.py b/dulwich/repo.py index 161fbaf0b..ccd715666 100644 --- a/dulwich/repo.py +++ b/dulwich/repo.py @@ -383,7 +383,8 @@ def _determine_symlinks(self) -> bool: Returns: True if symlinks can be created, False otherwise. """ - raise NotImplementedError(self._determine_symlinks) + # For now, just mimic the old behaviour + return sys.platform != "win32" def _init_files(self, bare: bool, symlinks: Optional[bool] = None) -> None: """Initialize a default set of named files."""