This is an archive of the discontinued Mercurial Phabricator instance.

py3: pass a bytestring into querydrev instead of a string that'll TypeError
ClosedPublic

Authored by Kwan on Sep 17 2019, 7:23 PM.

Details

Summary

This was a regression I introduced in c19d259fd6ad. When the string gets to
the memoryview in _tokenize under py3 it'll die.

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

Kwan created this revision.Sep 17 2019, 7:23 PM

For stable

This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.