This is an archive of the discontinued Mercurial Phabricator instance.

scmutil: fix requires-file isalnum() check on first byte
ClosedPublic

Authored by durin42 on Feb 18 2018, 3:54 PM.

Details

Summary

Slice instead of subscript to get a bytes from a bytes.

  1. skip-blame just a py3 slice-instead-of-subscript change

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.Feb 18 2018, 3:54 PM
indygreg accepted this revision.Feb 18 2018, 9:02 PM
This revision is now accepted and ready to land.Feb 18 2018, 9:02 PM
This revision was automatically updated to reflect the committed changes.