Show More
@@ -626,9 +626,6 b' class cachestat(object):' | |||
|
626 | 626 | def __ne__(self, other): |
|
627 | 627 | return not self == other |
|
628 | 628 | |
|
629 | def executablepath(): | |
|
630 | return None # available on Windows only | |
|
631 | ||
|
632 | 629 | def statislink(st): |
|
633 | 630 | '''check whether a stat result is a symlink''' |
|
634 | 631 | return st and stat.S_ISLNK(st.st_mode) |
@@ -21,7 +21,7 b" fallbackpager = 'more'" | |||
|
21 | 21 | def systemrcpath(): |
|
22 | 22 | '''return default os-specific hgrc search path''' |
|
23 | 23 | rcpath = [] |
|
24 |
filename = |
|
|
24 | filename = win32.executablepath() | |
|
25 | 25 | # Use mercurial.ini found in directory with hg.exe |
|
26 | 26 | progrc = os.path.join(os.path.dirname(filename), 'mercurial.ini') |
|
27 | 27 | rcpath.append(progrc) |
@@ -108,7 +108,6 b' cachestat = platform.cachestat' | |||
|
108 | 108 | checkexec = platform.checkexec |
|
109 | 109 | checklink = platform.checklink |
|
110 | 110 | copymode = platform.copymode |
|
111 | executablepath = platform.executablepath | |
|
112 | 111 | expandglobs = platform.expandglobs |
|
113 | 112 | explainexit = platform.explainexit |
|
114 | 113 | findexe = platform.findexe |
General Comments 0
You need to be logged in to leave comments.
Login now