mercurial/hgweb/hgwebdir_mod.py
changeset 4939 cdd33a048289
parent 4839 edd07be943dd
child 5082 79373ec3f27d
equal deleted inserted replaced
4938:02b127749dc0 4939:cdd33a048289
   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]