py3: convert info.name to bytes in subrepo.py
Needs ReviewPublic

Authored by pulkit on Jan 29 2019, 5:27 PM.

Details

Reviewers
None
Group Reviewers
hg-reviewers

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped
pulkit created this revision.Jan 29 2019, 5:27 PM
yuja added a subscriber: yuja.Jan 30 2019, 7:21 AM
for info in tar:

+ infoname = pycompat.bytestr(info.name)

So info.name would come from environment. It's probably better to use
encoding.strtolocal().