Show More
@@ -61,12 +61,6 b' def envrcitems(env=None):' | |||
|
61 | 61 | return result |
|
62 | 62 | |
|
63 | 63 | |
|
64 | def defaultrcpath(): | |
|
65 | '''return rc paths in defaultrc''' | |
|
66 | defaultpath = os.path.join(resourceutil.datapath, b'defaultrc') | |
|
67 | return _expandrcpath(defaultpath) | |
|
68 | ||
|
69 | ||
|
70 | 64 | def default_rc_resources(): |
|
71 | 65 | """return rc resource IDs in defaultrc""" |
|
72 | 66 | rsrcs = resourceutil.contents(b'mercurial.defaultrc') |
@@ -107,7 +101,7 b' def rccomponents():' | |||
|
107 | 101 | normpaths = lambda paths: [ |
|
108 | 102 | (b'path', os.path.normpath(p)) for p in paths |
|
109 | 103 | ] |
|
110 |
_rccomponents.extend(normpaths( |
|
|
104 | _rccomponents.extend(normpaths(systemrcpath())) | |
|
111 | 105 | _rccomponents.append(envrc) |
|
112 | 106 | _rccomponents.extend(normpaths(userrcpath())) |
|
113 | 107 | return _rccomponents |
General Comments 0
You need to be logged in to leave comments.
Login now