Mercurial > public > mercurial-scm > hg-stable
diff mercurial/posix.py @ 34647:dacfcdd8b94e
codemod: use pycompat.isdarwin
This is done by:
sed -i "s/pycompat\.sysplatform == 'darwin'/pycompat.isdarwin/" **/*.py
Plus a manual change to `sslutil.py` which involves indentation change that
cannot be done by `sed`.
Differential Revision: https://phab.mercurial-scm.org/D1035
author | Jun Wu <quark@fb.com> |
---|---|
date | Thu, 12 Oct 2017 23:34:34 -0700 |
parents | ab687e06fe02 |
children | beede158ea8a |
line wrap: on
line diff