( )⚙ D855 py3: use pycompat.bytestr instead of str

This is an archive of the discontinued Mercurial Phabricator instance.

py3: use pycompat.bytestr instead of str
ClosedPublic

Authored by pulkit on Sep 30 2017, 8:50 AM.

Details

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

pulkit created this revision.Sep 30 2017, 8:50 AM
durin42 added inline comments.
mercurial/merge.py
993

Do we know ancestors is always nodes? if we get a revnum instead of a node id this won't work right on Python 3...

pulkit retitled this revision from py3: use bytes instead of str to py3: use pycompat.bytestr instead of str.Sep 30 2017, 9:19 AM
pulkit updated this revision to Diff 2186.
durin42 accepted this revision.Sep 30 2017, 9:21 AM
This revision is now accepted and ready to land.Sep 30 2017, 9:21 AM
This revision was automatically updated to reflect the committed changes.