mercurial/hgweb.py
changeset 269 24e9e140485f
parent 265 7ca05593bd30
child 271 35acefbf0ae6
equal deleted inserted replaced
268:1634a7ea6748 269:24e9e140485f
   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