Show More
@@ -437,14 +437,14 b" if os.name != 'nt':" | |||||
437 | def systemrcpath(): |
|
437 | def systemrcpath(): | |
438 | path = [] |
|
438 | path = [] | |
439 | if sys.platform == 'plan9': |
|
439 | if sys.platform == 'plan9': | |
440 |
root = ' |
|
440 | root = 'lib/mercurial' | |
441 | else: |
|
441 | else: | |
442 |
root = ' |
|
442 | root = 'etc/mercurial' | |
443 | # old mod_python does not set sys.argv |
|
443 | # old mod_python does not set sys.argv | |
444 | if len(getattr(sys, 'argv', [])) > 0: |
|
444 | if len(getattr(sys, 'argv', [])) > 0: | |
445 | p = os.path.dirname(os.path.dirname(sys.argv[0])) |
|
445 | p = os.path.dirname(os.path.dirname(sys.argv[0])) | |
446 | path.extend(rcfiles(os.path.join(p, root))) |
|
446 | path.extend(rcfiles(os.path.join(p, root))) | |
447 | path.extend(rcfiles(root)) |
|
447 | path.extend(rcfiles('/' + root)) | |
448 | return path |
|
448 | return path | |
449 |
|
449 | |||
450 | def userrcpath(): |
|
450 | def userrcpath(): |
General Comments 0
You need to be logged in to leave comments.
Login now