mercurial/hgweb.py
changeset 1140 04d52b446e5e
parent 1139 916bb2849c4c
child 1141 033c968d7c66
equal deleted inserted replaced
1139:916bb2849c4c 1140:04d52b446e5e
   940         def entries(**map):
   940         def entries(**map):
   941             parity = 0
   941             parity = 0
   942             repos = self.cp.items("paths")
   942             repos = self.cp.items("paths")
   943             repos.sort()
   943             repos.sort()
   944             for name, path in repos:
   944             for name, path in repos:
   945                 repo = repository(ui(), path)
   945                 u = ui()
   946                 get = repo.ui.config
   946                 u.readconfig(file(os.path.join(path, '.hg', 'hgrc')))
       
   947                 get = u.config
   947 
   948 
   948                 url = os.environ["REQUEST_URI"] + "/" + name
   949                 url = os.environ["REQUEST_URI"] + "/" + name
   949                 url = url.replace("//", "/")
   950                 url = url.replace("//", "/")
   950 
   951 
   951                 yield dict(contact=get("web", "contact") or
   952                 yield dict(contact=get("web", "contact") or