sapling/mercurial/pure
Jun Wu 2ae56b14de codemod: use pycompat.iswindows
This is done by:

  sed -i "s/pycompat\.osname == 'nt'/pycompat.iswindows/" **/*.py
  sed -i "s/pycompat\.osname != 'nt'/not pycompat.iswindows/" **/*.py
  sed -i 's/pycompat.osname == "nt"/pycompat.iswindows/' **/*.py

Differential Revision: https://phab.mercurial-scm.org/D1034
2017-10-12 23:30:46 -07:00
..
__init__.py pure: quiesce build warnings 2012-04-16 08:50:40 -07:00
base85.py base85: use absolute_import 2015-12-12 13:33:47 -05:00
bdiff.py style: never put multiple statements on one line 2017-09-29 15:49:20 +00:00
charencode.py py3: use 'surrogatepass' error handler to process U+DCxx transparently 2017-09-16 22:55:48 +09:00
diffhelpers.py diffhelpers: use absolute_import 2015-12-12 13:35:41 -05:00
mpatch.py style: never put multiple statements on one line 2017-09-29 15:49:20 +00:00
osutil.py codemod: use pycompat.iswindows 2017-10-12 23:30:46 -07:00
parsers.py style: always use x is not None instead of not x is None 2017-09-29 15:49:43 +00:00