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
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.