comparison mercurial/util.py @ 6006:3c9dbb743d20

merge: add registry look up bits to tool search
author Matt Mackall <mpm@selenic.com>
date Sun, 03 Feb 2008 19:29:05 -0600
parents 75d9fe70c654
children 090b1a665901
comparison
equal deleted inserted replaced
6005:3c33032d8906 6006:3c9dbb743d20
1084 pass 1084 pass
1085 1085
1086 else: 1086 else:
1087 nulldev = '/dev/null' 1087 nulldev = '/dev/null'
1088 1088
1089 def lookup_reg(key, name=None, scope=None):
1090 return None
1091
1089 def rcfiles(path): 1092 def rcfiles(path):
1090 rcs = [os.path.join(path, 'hgrc')] 1093 rcs = [os.path.join(path, 'hgrc')]
1091 rcdir = os.path.join(path, 'hgrc.d') 1094 rcdir = os.path.join(path, 'hgrc.d')
1092 try: 1095 try:
1093 rcs.extend([os.path.join(rcdir, f) 1096 rcs.extend([os.path.join(rcdir, f)