Mercurial > hg > mercurial-crew-with-dirclash
comparison mercurial/hgweb/hgwebdir_mod.py @ 4965:4106dde15aed
Merge with crew
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Sat, 21 Jul 2007 16:44:38 -0500 |
parents | cdd33a048289 |
children | 79373ec3f27d |
comparison
equal
deleted
inserted
replaced
4964:ee983d0dbea8 | 4965:4106dde15aed |
---|---|
242 | 242 |
243 up = virtual.rfind('/') | 243 up = virtual.rfind('/') |
244 if up < 0: | 244 if up < 0: |
245 break | 245 break |
246 virtual = virtual[:up] | 246 virtual = virtual[:up] |
247 | 247 |
248 req.write(tmpl("notfound", repo=virtual)) | 248 req.write(tmpl("notfound", repo=virtual)) |
249 else: | 249 else: |
250 if req.form.has_key('static'): | 250 if req.form.has_key('static'): |
251 static = os.path.join(templater.templatepath(), "static") | 251 static = os.path.join(templater.templatepath(), "static") |
252 fname = req.form['static'][0] | 252 fname = req.form['static'][0] |