This is an archive of the discontinued Mercurial Phabricator instance.

convert: use raw strings for XML strings
ClosedPublic

Authored by indygreg on Jan 23 2019, 7:25 PM.

Details

Summary

Due to the source transformer, we were passing bytes into the
XML APIs. This results in not finding elements and doing compares
against mismatched types.

Use raw string literals so we use str everywhere.

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

indygreg created this revision.Jan 23 2019, 7:25 PM
This revision was automatically updated to reflect the committed changes.