mercurial/scmposix.py
changeset 45824 9ac96b9fa76e
parent 43506 9f70512ae2cf
child 48875 6000f5b25c9b
equal deleted inserted replaced
45823:793976f9029c 45824:9ac96b9fa76e
    25     rcdir = os.path.join(path, b'hgrc.d')
    25     rcdir = os.path.join(path, b'hgrc.d')
    26     try:
    26     try:
    27         rcs.extend(
    27         rcs.extend(
    28             [
    28             [
    29                 os.path.join(rcdir, f)
    29                 os.path.join(rcdir, f)
    30                 for f, kind in util.listdir(rcdir)
    30                 for f, kind in sorted(util.listdir(rcdir))
    31                 if f.endswith(b".rc")
    31                 if f.endswith(b".rc")
    32             ]
    32             ]
    33         )
    33         )
    34     except OSError:
    34     except OSError:
    35         pass
    35         pass