Show More
@@ -64,6 +64,8 b' class hgwebdir(object):' | |||
|
64 | 64 | |
|
65 | 65 | if not isinstance(self.conf, (dict, list, tuple)): |
|
66 | 66 | map = {'paths': 'hgweb-paths'} |
|
67 | if not os.path.exists(self.conf): | |
|
68 | raise util.Abort(_('config file %s not found!') % self.conf) | |
|
67 | 69 | u.readconfig(self.conf, remap=map, trust=True) |
|
68 | 70 | paths = u.configitems('hgweb-paths') |
|
69 | 71 | elif isinstance(self.conf, (list, tuple)): |
General Comments 0
You need to be logged in to leave comments.
Login now