equal
deleted
inserted
replaced
509 |
509 |
510 else: |
510 else: |
511 nulldev = '/dev/null' |
511 nulldev = '/dev/null' |
512 |
512 |
513 def rcfiles(path): |
513 def rcfiles(path): |
514 print 'checking', path |
|
515 rcs = [os.path.join(path, 'hgrc')] |
514 rcs = [os.path.join(path, 'hgrc')] |
516 rcdir = os.path.join(path, 'hgrc.d') |
515 rcdir = os.path.join(path, 'hgrc.d') |
517 try: |
516 try: |
518 rcs.extend([os.path.join(rcdir, f) for f in os.listdir(rcdir) |
517 rcs.extend([os.path.join(rcdir, f) for f in os.listdir(rcdir) |
519 if f.endswith(".rc")]) |
518 if f.endswith(".rc")]) |