Submitter | phabricator |
---|---|
Date | Dec. 17, 2019, 4:43 p.m. |
Message ID | <89ee21f172a5f77112d57d93c3b5ee51@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/43926/ |
State | Not Applicable |
Headers | show |
Comments
Patch
diff --git a/mercurial/rcutil.py b/mercurial/rcutil.py --- a/mercurial/rcutil.py +++ b/mercurial/rcutil.py @@ -63,11 +63,8 @@ def defaultrcpath(): '''return rc paths in defaultrc''' - path = [] defaultpath = os.path.join(resourceutil.datapath, b'defaultrc') - if os.path.isdir(defaultpath): - path = _expandrcpath(defaultpath) - return path + return _expandrcpath(defaultpath) def rccomponents():