mercurial/hgweb/hgweb_mod.py
changeset 2442 c660691fb45d
parent 2436 f910b91dd912
child 2464 09b1c9ef317c
equal deleted inserted replaced
2441:801dfe0aa53a 2442:c660691fb45d
   831         static = self.repo.ui.config("web", "static",
   831         static = self.repo.ui.config("web", "static",
   832                                      os.path.join(self.templatepath,
   832                                      os.path.join(self.templatepath,
   833                                                   "static"))
   833                                                   "static"))
   834         req.write(staticfile(static, fname)
   834         req.write(staticfile(static, fname)
   835                   or self.t("error", error="%r not found" % fname))
   835                   or self.t("error", error="%r not found" % fname))
       
   836 
       
   837     def do_capabilities(self, req):
       
   838         resp = ''
       
   839         req.httphdr("application/mercurial-0.1", length=len(resp))
       
   840         req.write(resp)
       
   841