Show More
@@ -77,7 +77,10 class hgwebdir(object): | |||
|
77 | 77 | if not os.path.exists(self.conf): |
|
78 | 78 | raise util.Abort(_('config file %s not found!') % self.conf) |
|
79 | 79 | u.readconfig(self.conf, remap=map, trust=True) |
|
80 | paths = u.configitems('hgweb-paths') | |
|
80 | paths = [] | |
|
81 | for name, ignored in u.configitems('hgweb-paths'): | |
|
82 | for path in u.configlist('hgweb-paths', name): | |
|
83 | paths.append((name, path)) | |
|
81 | 84 | elif isinstance(self.conf, (list, tuple)): |
|
82 | 85 | paths = self.conf |
|
83 | 86 | elif isinstance(self.conf, dict): |
General Comments 0
You need to be logged in to leave comments.
Login now