Page MenuHomePhabricator

py3: use pycompat.bytestr() on extra values because it can be int
ClosedPublic

Authored by pulkit on Feb 5 2019, 1:37 PM.

Details

Summary

One such example is {'close': 1} which marks a branch as closed.

This makes test-convert-mtn.t pass on Python 3.

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.Feb 5 2019, 1:37 PM
This revision was automatically updated to reflect the committed changes.