Show More
@@ -597,6 +597,7 b' else:' | |||||
597 | def os_rcpath(): |
|
597 | def os_rcpath(): | |
598 | '''return default os-specific hgrc search path''' |
|
598 | '''return default os-specific hgrc search path''' | |
599 | path = [] |
|
599 | path = [] | |
|
600 | # old mod_python does not set sys.argv | |||
600 | if len(getattr(sys, 'argv', [])) > 0: |
|
601 | if len(getattr(sys, 'argv', [])) > 0: | |
601 | path.extend(rcfiles(os.path.dirname(sys.argv[0]) + |
|
602 | path.extend(rcfiles(os.path.dirname(sys.argv[0]) + | |
602 | '/../etc/mercurial')) |
|
603 | '/../etc/mercurial')) |
General Comments 0
You need to be logged in to leave comments.
Login now