You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: tolerate non-UTF-8 svn output instead of crashing (#1383)
SVN servers can emit output in the system code page (e.g. CP1252 on
Windows) rather than UTF-8, for example when a file path contains
accented characters. Every decode of subprocess output in dfetch.vcs.svn
now goes through util.cmdline.decode_subprocess_output, which tries
UTF-8, falls back to CP1252, and finally replaces any byte it still
can't decode, so commands like `dfetch update` no longer crash with
UnicodeDecodeError on such output.
0 commit comments