( )⚙ D2496 py3: slice over bytes or use startswith() to prevent getting ascii values

This is an archive of the discontinued Mercurial Phabricator instance.

py3: slice over bytes or use startswith() to prevent getting ascii values
ClosedPublic

Authored by pulkit on Feb 28 2018, 5:29 PM.

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 28 2018, 5:29 PM
This revision was automatically updated to reflect the committed changes.
yuja added a subscriber: yuja.Mar 1 2018, 4:41 AM
yuja added inline comments.
mercurial/commands.py
4485

Could be '-%c ', but I don't have preference.