mercurial/hgweb.py
changeset 1132 92525920ad29
parent 1131 a67982e64109
child 1138 51f26e856f3d
equal deleted inserted replaced
1131:a67982e64109 1132:92525920ad29
   946                 get = repo.ui.config
   946                 get = repo.ui.config
   947 
   947 
   948                 url = os.environ["REQUEST_URI"] + "/" + name
   948                 url = os.environ["REQUEST_URI"] + "/" + name
   949                 url = url.replace("//", "/")
   949                 url = url.replace("//", "/")
   950 
   950 
   951                 yield dict(author=get("web", "author", "unknown"),
   951                 yield dict(contact=get("web", "contact") or
       
   952                                    get("web", "author", "unknown"),
   952                            name=get("web", "name", name),
   953                            name=get("web", "name", name),
   953                            url=url,
   954                            url=url,
   954                            parity=parity,
   955                            parity=parity,
   955                            shortdesc=get("web", "description", "unknown"),
   956                            shortdesc=get("web", "description", "unknown"),
   956                            lastupdate=os.stat(os.path.join(path, ".hg",
   957                            lastupdate=os.stat(os.path.join(path, ".hg",