( )⚙ D1036 codemod: use pycompat.isposix

This is an archive of the discontinued Mercurial Phabricator instance.

codemod: use pycompat.isposix
ClosedPublic

Authored by quark on Oct 12 2017, 12:37 PM.

Details

Summary

This is done by:

sed -i "s/pycompat\.osname == 'posix'/pycompat.isposix/" **/*.py

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped