( )⚙ D8806 templater: don't normalize path separators to '/' when interacting with OS

This is an archive of the discontinued Mercurial Phabricator instance.

templater: don't normalize path separators to '/' when interacting with OS
ClosedPublic

Authored by martinvonz on Jul 24 2020, 2:02 AM.

Details

Summary

_readmapfile() is about reading a map file from the file system, so
we shouldn't use our util.normpath(), which also normalizes os.sep
to '/'.

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.