equal
deleted
inserted
replaced
19 fallbackpager = 'more' |
19 fallbackpager = 'more' |
20 |
20 |
21 def systemrcpath(): |
21 def systemrcpath(): |
22 '''return default os-specific hgrc search path''' |
22 '''return default os-specific hgrc search path''' |
23 rcpath = [] |
23 rcpath = [] |
24 filename = util.executablepath() |
24 filename = win32.executablepath() |
25 # Use mercurial.ini found in directory with hg.exe |
25 # Use mercurial.ini found in directory with hg.exe |
26 progrc = os.path.join(os.path.dirname(filename), 'mercurial.ini') |
26 progrc = os.path.join(os.path.dirname(filename), 'mercurial.ini') |
27 rcpath.append(progrc) |
27 rcpath.append(progrc) |
28 # Use hgrc.d found in directory with hg.exe |
28 # Use hgrc.d found in directory with hg.exe |
29 progrcd = os.path.join(os.path.dirname(filename), 'hgrc.d') |
29 progrcd = os.path.join(os.path.dirname(filename), 'hgrc.d') |