This is an archive of the discontinued Mercurial Phabricator instance.

scmutil: bytes-ify IOErrors before wrapping them in abort message
ClosedPublic

Authored by durin42 on Feb 17 2018, 1:41 AM.

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 17 2018, 1:41 AM
pulkit added a subscriber: pulkit.Feb 17 2018, 4:39 AM

It's recommended using util.forcebytestr() to convert error messages to bytes. https://phab.mercurial-scm.org/D2269#inline-5791

yuja requested changes to this revision.Feb 17 2018, 4:55 AM
This revision now requires changes to proceed.Feb 17 2018, 4:55 AM
durin42 updated this revision to Diff 5813.Feb 17 2018, 4:17 PM
This revision was automatically updated to reflect the committed changes.