Mercurial > public > mercurial-scm > hg-stable
diff mercurial/hgweb.py @ 1132:92525920ad29
Completed renaming author to contact in hgwebdir:
Prefer [web] contact = foo instead of author, but still accept the old name.
Adjusted template to show obfuscated contact. Drop bogus <i>email</i> entry.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Sun, 28 Aug 2005 18:13:28 +0200 |
parents | a67982e64109 |
children | 51f26e856f3d |
line wrap: on
line diff
--- a/mercurial/hgweb.py Sun Aug 28 17:55:15 2005 +0200 +++ b/mercurial/hgweb.py Sun Aug 28 18:13:28 2005 +0200 @@ -948,7 +948,8 @@ url = os.environ["REQUEST_URI"] + "/" + name url = url.replace("//", "/") - yield dict(author=get("web", "author", "unknown"), + yield dict(contact=get("web", "contact") or + get("web", "author", "unknown"), name=get("web", "name", name), url=url, parity=parity,