Show More
@@ -60,8 +60,6 b' def systemrcpath() -> List[bytes]:' | |||||
60 | def userrcpath() -> List[bytes]: |
|
60 | def userrcpath() -> List[bytes]: | |
61 | if pycompat.sysplatform == b'plan9': |
|
61 | if pycompat.sysplatform == b'plan9': | |
62 | return [encoding.environ[b'home'] + b'/lib/hgrc'] |
|
62 | return [encoding.environ[b'home'] + b'/lib/hgrc'] | |
63 | elif pycompat.isdarwin: |
|
|||
64 | return [os.path.expanduser(b'~/.hgrc')] |
|
|||
65 | else: |
|
63 | else: | |
66 | confighome = encoding.environ.get(b'XDG_CONFIG_HOME') |
|
64 | confighome = encoding.environ.get(b'XDG_CONFIG_HOME') | |
67 | if confighome is None or not os.path.isabs(confighome): |
|
65 | if confighome is None or not os.path.isabs(confighome): |
General Comments 0
You need to be logged in to leave comments.
Login now