mercurial/hgweb/hgwebdir_mod.py
changeset 3215 53e843840349
parent 3213 d7d53e3d9590
child 3261 1e322b44b366
equal deleted inserted replaced
3214:a5603ad915c5 3215:53e843840349
    35             self.repos = []
    35             self.repos = []
    36             if cp.has_section('web'):
    36             if cp.has_section('web'):
    37                 if cp.has_option('web', 'motd'):
    37                 if cp.has_option('web', 'motd'):
    38                     self.motd = cp.get('web', 'motd')
    38                     self.motd = cp.get('web', 'motd')
    39                 if cp.has_option('web', 'style'):
    39                 if cp.has_option('web', 'style'):
    40 		    self.style = cp.get('web', 'style')
    40                     self.style = cp.get('web', 'style')
    41             if cp.has_section('paths'):
    41             if cp.has_section('paths'):
    42                 self.repos.extend(cleannames(cp.items('paths')))
    42                 self.repos.extend(cleannames(cp.items('paths')))
    43             if cp.has_section('collections'):
    43             if cp.has_section('collections'):
    44                 for prefix, root in cp.items('collections'):
    44                 for prefix, root in cp.items('collections'):
    45                     for path in util.walkrepos(root):
    45                     for path in util.walkrepos(root):