comparison mercurial/hgweb.py @ 269:24e9e140485f

hgweb: shrink the default changelog list to 10 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hgweb: shrink the default changelog list to 10 manifest hash: 4d5f9f35b3dcb6bf05c0f25ab89cedba269ad924 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCpVUbywK+sNU5EO8RAlmTAJ9HzQz9C1lmL22IGU0tXYDTLqcVAQCfTD1U pDF449wXA8ocjAF+UUJ7sL8= =YyBZ -----END PGP SIGNATURE-----
author mpm@selenic.com
date Tue, 07 Jun 2005 00:04:43 -0800
parents 7ca05593bd30
children 35acefbf0ae6
comparison
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