Show More
@@ -75,7 +75,7 b' def openhardlinks():' | |||||
75 |
|
75 | |||
76 | _HKEY_LOCAL_MACHINE = 0x80000002L |
|
76 | _HKEY_LOCAL_MACHINE = 0x80000002L | |
77 |
|
77 | |||
78 |
def system_rcpath |
|
78 | def system_rcpath(): | |
79 | '''return default os-specific hgrc search path''' |
|
79 | '''return default os-specific hgrc search path''' | |
80 | rcpath = [] |
|
80 | rcpath = [] | |
81 | filename = executable_path() |
|
81 | filename = executable_path() | |
@@ -105,12 +105,6 b' def system_rcpath_win32():' | |||||
105 | rcpath.append(os.path.join(p, f)) |
|
105 | rcpath.append(os.path.join(p, f)) | |
106 | return rcpath |
|
106 | return rcpath | |
107 |
|
107 | |||
108 | def system_rcpath(): |
|
|||
109 | try: |
|
|||
110 | return system_rcpath_win32() |
|
|||
111 | except: |
|
|||
112 | return [r'c:\mercurial\mercurial.ini'] |
|
|||
113 |
|
||||
114 | def user_rcpath(): |
|
108 | def user_rcpath(): | |
115 | '''return os-specific hgrc search path to the user dir''' |
|
109 | '''return os-specific hgrc search path to the user dir''' | |
116 | try: |
|
110 | try: |
General Comments 0
You need to be logged in to leave comments.
Login now