equal
deleted
inserted
replaced
111 except KeyError: |
111 except KeyError: |
112 tmpl = self.cache[t] = file(self.map[t]).read() |
112 tmpl = self.cache[t] = file(self.map[t]).read() |
113 return template(tmpl, self.filters, **map) |
113 return template(tmpl, self.filters, **map) |
114 |
114 |
115 class hgweb: |
115 class hgweb: |
116 maxchanges = 20 |
116 maxchanges = 10 |
117 maxfiles = 10 |
117 maxfiles = 10 |
118 |
118 |
119 def __init__(self, path, name, templates = ""): |
119 def __init__(self, path, name, templates = ""): |
120 self.templates = templates or templatepath() |
120 self.templates = templates or templatepath() |
121 self.reponame = name |
121 self.reponame = name |