diff -r d46f6b078799 -r 78e8890cfb4b mercurial/hgweb/hgwebdir_mod.py --- a/mercurial/hgweb/hgwebdir_mod.py Mon Jun 01 15:16:28 2015 -0500 +++ b/mercurial/hgweb/hgwebdir_mod.py Mon Jun 01 14:42:55 2015 -0400 @@ -356,6 +356,7 @@ contact = get_contact(get) description = get("web", "description", "") + seenrepos.add(name) name = get("web", "name", name) row = {'contact': contact or "unknown", 'contact_sort': contact.upper() or "unknown", @@ -370,7 +371,6 @@ 'isdirectory': None, } - seenrepos.add(name) yield row sortdefault = None, False