mercurial/pycompat.py
changeset 34644 c0a6c19690ff
parent 34639 a568a46751b6
child 35226 5b569d512fbd
--- a/mercurial/pycompat.py	Wed Oct 11 21:24:32 2017 -0700
+++ b/mercurial/pycompat.py	Thu Oct 12 19:20:04 2017 -0700
@@ -316,3 +316,7 @@
     rawinput = raw_input
 
 isjython = sysplatform.startswith('java')
+
+isdarwin = sysplatform == 'darwin'
+isposix = osname == 'posix'
+iswindows = osname == 'nt'