##// END OF EJS Templates
repo-config: adjust "root" path for parsing shared config...
marmoute -
r53319:8a52fd13 default
parent child Browse files
Show More
@@ -947,8 +947,7 def _readsharedsourceconfig(ui, path):
947 return
947 return
948 hgvfs = vfs.vfs(os.path.join(path, b".hg"))
948 hgvfs = vfs.vfs(os.path.join(path, b".hg"))
949 sharedvfs = localrepo._getsharedvfs(hgvfs, requirements)
949 sharedvfs = localrepo._getsharedvfs(hgvfs, requirements)
950 root = sharedvfs.base
950 ui.readconfig(sharedvfs.join(b"hgrc"), root=path)
951 ui.readconfig(sharedvfs.join(b"hgrc"), root)
952 except IOError:
951 except IOError:
953 pass
952 pass
954
953
General Comments 0
You need to be logged in to leave comments. Login now