Mercurial > hg
changeset 34644:c0a6c19690ff
pycompat: define operating system constants
As suggested by Ryan in D1019, it's cleaner if we use defined constants
instead of `osname == 'nt'` everywhere.
Differential Revision: https://phab.mercurial-scm.org/D1033
author | Jun Wu <quark@fb.com> |
---|---|
date | Thu, 12 Oct 2017 19:20:04 -0700 |
parents | f42dec9c976e |
children | 75979c8d4572 |
files | mercurial/pycompat.py |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff