This is an archive of the discontinued Mercurial Phabricator instance.

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

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

Details

Reviewers
marmoute
Group Reviewers
hg-reviewers

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

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().

marmoute requested changes to this revision.Jan 23 2020, 12:11 PM
marmoute added a subscriber: marmoute.

moving to need revision according to yuya feedback

This revision now requires changes to proceed.Jan 23 2020, 12:11 PM