mercurial/hgweb/hgwebdir_mod.py
changeset 6210 942287cb1f57
parent 6046 588ad9227b63
child 6217 fe8dbbe9520d
equal deleted inserted replaced
6209:4e8cd15240bf 6210:942287cb1f57
    95                     req.respond(HTTP_OK, ctype)
    95                     req.respond(HTTP_OK, ctype)
    96                     req.write(self.makeindex(req, tmpl))
    96                     req.write(self.makeindex(req, tmpl))
    97                     return
    97                     return
    98 
    98 
    99                 # nested indexes and hgwebs
    99                 # nested indexes and hgwebs
   100                 
   100 
   101                 repos = dict(self.repos)
   101                 repos = dict(self.repos)
   102                 while virtual:
   102                 while virtual:
   103                     real = repos.get(virtual)
   103                     real = repos.get(virtual)
   104                     if real:
   104                     if real:
   105                         req.env['REPO_NAME'] = virtual
   105                         req.env['REPO_NAME'] = virtual