This is an archive of the discontinued Mercurial Phabricator instance.

typing: suppress a warning that mercurial.windows.checkosfilename is missing
ClosedPublic

Authored by mharbison72 on Dec 15 2019, 11:12 PM.

Details

Summary

This function is used to check filename portability everwhere, so it isn't
tucked into the windows.py module. I supposed the alternative is to move it and
then alias it in util. I'm guessing it was done like this to save an import.

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

mharbison72 created this revision.Dec 15 2019, 11:12 PM
pulkit accepted this revision.Dec 16 2019, 12:56 AM
This revision is now accepted and ready to land.Dec 16 2019, 12:56 AM