This is an archive of the discontinued Mercurial Phabricator instance.

py3: use pycompat.bytestr() to convert str into bytes
ClosedPublic

Authored by pulkit on May 19 2018, 12:18 PM.

Details

Summary

the keys of opts are str here, so we have to convert it to bytes before passing
into error.Abort()

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

pulkit created this revision.May 19 2018, 12:18 PM
This revision was automatically updated to reflect the committed changes.