mercurial/scmposix.py
changeset 34647 dacfcdd8b94e
parent 32208 d74b0cff94a9
child 43075 57875cf423c9
--- a/mercurial/scmposix.py	Thu Oct 12 09:04:22 2017 -0700
+++ b/mercurial/scmposix.py	Thu Oct 12 23:34:34 2017 -0700
@@ -46,7 +46,7 @@
 def userrcpath():
     if pycompat.sysplatform == 'plan9':
         return [encoding.environ['home'] + '/lib/hgrc']
-    elif pycompat.sysplatform == 'darwin':
+    elif pycompat.isdarwin:
         return [os.path.expanduser('~/.hgrc')]
     else:
         confighome = encoding.environ.get('XDG_CONFIG_HOME')