This is an archive of the discontinued Mercurial Phabricator instance.

subrepo: clean up lingering bytes/str issues in svn support
ClosedPublic

Authored by durin42 on Jan 30 2019, 7:30 PM.

Details

Summary

I've decided to use fsencode instead of utf8 for turning Subversion
paths into native paths. I don't really know which one is more
correct, but I _suspect_ that this means that Python3 will avoid some
bugs that are possible on Python2 when it comes to Subversion
functionality.

Subversion subrepo tests now pass in Python 3.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

durin42 created this revision.Jan 30 2019, 7:30 PM
durin42 updated this revision to Diff 13622.Jan 30 2019, 8:08 PM
This revision was automatically updated to reflect the committed changes.