Summary
Updating SomeProject with dfetch 0.14.3 fails during SVN export due to a UTF-8 decoding error. The same update succeeds with dfetch 0.11.0.
Steps to Reproduce
dfetch update SomeProject
Environment
- dfetch: 0.14.3
- Python: 3.12
- SVN repository accessed via HTTP
Actual Result
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe9 in position 1557: invalid continuation byte
Stack trace points to:
_run_svn_raw(args, url=url).decode()
indicating a hardcoded UTF-8 decode of SVN command output.
Expected Result
SVN output should be decoded using the system encoding (or with fallback handling), and the update should complete successfully.
Additional Information
- Regression:
dfetch==0.11.0 works correctly.
- Likely caused by SVN output containing non-UTF-8 characters (e.g. Windows code page encoding such as CP1252).
- Temporary workaround:
pip install dfetch==0.11.0
Summary
Updating
SomeProjectwithdfetch 0.14.3fails during SVN export due to a UTF-8 decoding error. The same update succeeds withdfetch 0.11.0.Steps to Reproduce
Environment
Actual Result
Stack trace points to:
indicating a hardcoded UTF-8 decode of SVN command output.
Expected Result
SVN output should be decoded using the system encoding (or with fallback handling), and the update should complete successfully.
Additional Information
dfetch==0.11.0works correctly.