This is an archive of the discontinued Mercurial Phabricator instance.

py3: encode str to bytes
ClosedPublic

Authored by indygreg on Oct 12 2018, 1:24 PM.

Details

Summary

These fields are str on Python 2 and 3. This module doesn't import any Mercurial
modules. So I just did the str -> bytes inline.

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

indygreg created this revision.Oct 12 2018, 1:24 PM
pulkit accepted this revision.Oct 12 2018, 4:49 PM
This revision was automatically updated to reflect the committed changes.