Mercurial > public > mercurial-scm > hg
comparison mercurial/hgweb/hgwebdir_mod.py @ 34238:a6c18628dff1
configitems: register the 'web.description' config
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Fri, 30 Jun 2017 03:45:43 +0200 |
parents | 131f8cd2c2b4 |
children | 344fd1fe237b |
comparison
equal
deleted
inserted
replaced
34237:131f8cd2c2b4 | 34238:a6c18628dff1 |
---|---|
426 d = (get_mtime(r.spath), util.makedate()[1]) | 426 d = (get_mtime(r.spath), util.makedate()[1]) |
427 except OSError: | 427 except OSError: |
428 continue | 428 continue |
429 | 429 |
430 contact = get_contact(get) | 430 contact = get_contact(get) |
431 description = get("web", "description", "") | 431 description = get("web", "description") |
432 seenrepos.add(name) | 432 seenrepos.add(name) |
433 name = get("web", "name", name) | 433 name = get("web", "name", name) |
434 row = {'contact': contact or "unknown", | 434 row = {'contact': contact or "unknown", |
435 'contact_sort': contact.upper() or "unknown", | 435 'contact_sort': contact.upper() or "unknown", |
436 'name': name, | 436 'name': name, |