mercurial/scmwindows.py
changeset 37095 e24802ea8dbd
parent 32208 d74b0cff94a9
child 43075 57875cf423c9
equal deleted inserted replaced
37094:7f025c9b7865 37095:e24802ea8dbd
    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')