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

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
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

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