##// END OF EJS Templates
hgweb: trust config file passed into hgwebdir...
Dirkjan Ochtman -
r8359:07ddec2e default
parent child Browse files
Show More
@@ -35,7 +35,7 b' class hgwebdir(object):'
35 elif isinstance(conf, dict):
35 elif isinstance(conf, dict):
36 self.repos = sorted(cleannames(conf.items()))
36 self.repos = sorted(cleannames(conf.items()))
37 else:
37 else:
38 self.ui.readconfig(conf, remap={'paths': 'hgweb-paths'})
38 self.ui.readconfig(conf, remap={'paths': 'hgweb-paths'}, trust=True)
39 self.repos = []
39 self.repos = []
40
40
41 self.motd = self.ui.config('web', 'motd')
41 self.motd = self.ui.config('web', 'motd')
General Comments 0
You need to be logged in to leave comments. Login now