( )⚙ D1903 mq: use bytes() instead of str() to encode statusentries for writing

This is an archive of the discontinued Mercurial Phabricator instance.

mq: use bytes() instead of str() to encode statusentries for writing
ClosedPublic

Authored by durin42 on Jan 18 2018, 8:39 AM.

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

durin42 created this revision.Jan 18 2018, 8:39 AM
yuja added a subscriber: yuja.Jan 18 2018, 9:04 AM

Perhaps it could be just bytes.

durin42 retitled this revision from mq: use pycompat.bytestr() instead of str() to encode statusentries for writing to mq: use bytes() instead of str() to encode statusentries for writing.Jan 18 2018, 11:13 AM
durin42 updated this revision to Diff 4910.
indygreg accepted this revision.Feb 1 2018, 3:40 PM
This revision is now accepted and ready to land.Feb 1 2018, 3:40 PM
This revision was automatically updated to reflect the committed changes.