##// END OF EJS Templates
config: read system hgrc in lexicographical order...
Martin von Zweigbergk -
r46428:9ac96b9f default
parent child Browse files
Show More
@@ -27,7 +27,7 b' def _rcfiles(path):'
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 )
@@ -31,7 +31,7 b' def systemrcpath():'
31
31
32 def _processdir(progrcd):
32 def _processdir(progrcd):
33 if os.path.isdir(progrcd):
33 if os.path.isdir(progrcd):
34 for f, kind in util.listdir(progrcd):
34 for f, kind in sorted(util.listdir(progrcd)):
35 if f.endswith(b'.rc'):
35 if f.endswith(b'.rc'):
36 rcpath.append(os.path.join(progrcd, f))
36 rcpath.append(os.path.join(progrcd, f))
37
37
General Comments 0
You need to be logged in to leave comments. Login now