( )⚙ 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
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage