PySvn icon indicating copy to clipboard operation
PySvn copied to clipboard

Fix Path Joins for Windows

Open CivBase opened this issue 3 years ago • 0 comments

Fix for Issue #90: list_recursive does not support browsing svn with windows client

Created a dedicated method for handling path joins. Default behavior is to use os.path.join for native OS paths. RemoteClient overwrites the functionality to always uses forward slashes. All logic for joining paths has been replaced with calls to the new _pathjoin method.

A similar PR (#144) has been open for almost two years. It hasn't been accepted and I don't like how it completely redefines list_recursive for RemoteClient.

CivBase avatar Sep 17 '21 14:09 CivBase