Skip to content

Commit

Permalink
Merge pull request #1181 from jelmer/backwards-compat
Browse files Browse the repository at this point in the history
Be backwards compatible with older derived Repo implementations
  • Loading branch information
jelmer authored May 23, 2023
2 parents 38bd642 + fbfbc96 commit 264c5b6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dulwich/repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."""
Expand Down

0 comments on commit 264c5b6

Please sign in to comment.