mercurial/scmposix.py
changeset 51607 a4b3b8dee0a8
parent 51285 9d3721552b6c
child 51863 f4733654f144
--- a/mercurial/scmposix.py	Tue Apr 16 09:51:11 2024 +0200
+++ b/mercurial/scmposix.py	Tue Mar 26 01:27:27 2024 -0400
@@ -60,8 +60,6 @@
 def userrcpath() -> List[bytes]:
     if pycompat.sysplatform == b'plan9':
         return [encoding.environ[b'home'] + b'/lib/hgrc']
-    elif pycompat.isdarwin:
-        return [os.path.expanduser(b'~/.hgrc')]
     else:
         confighome = encoding.environ.get(b'XDG_CONFIG_HOME')
         if confighome is None or not os.path.isabs(confighome):