This is an archive of the discontinued Mercurial Phabricator instance.

stringutil: if we get a memoryview in escapestr, coerce it to bytes
ClosedPublic

Authored by durin42 on Aug 10 2018, 11:08 AM.

Details

Summary

Otherwise we get an exception. Sadly, this manifesting deep inside the
wireproto code, inside a future. For some reason the exception was
/causing a hang/ rather than actually propagating out, which seems
like it might merit some investigation in the future.

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.