mercurial/hgweb.py
changeset 1170 85555540a4e2
parent 1165 04be5eb73bb3
child 1172 3f30a5e7e15b
equal deleted inserted replaced
1169:e388c4f5cec5 1170:85555540a4e2
   958 
   958 
   959         def entries(**map):
   959         def entries(**map):
   960             parity = 0
   960             parity = 0
   961             for name, path in self.repos:
   961             for name, path in self.repos:
   962                 u = ui()
   962                 u = ui()
   963                 u.readconfig(file(os.path.join(path, '.hg', 'hgrc')))
   963                 try:
       
   964                     u.readconfig(file(os.path.join(path, '.hg', 'hgrc')))
       
   965                 except IOError:
       
   966                     pass
   964                 get = u.config
   967                 get = u.config
   965 
   968 
   966                 url = ('/'.join([req.env["REQUEST_URI"], name])
   969                 url = ('/'.join([req.env["REQUEST_URI"], name])
   967                        .replace("//", "/"))
   970                        .replace("//", "/"))
   968 
   971