diff -r 633d07045494 -r 724d7982b790 mercurial/hgweb/hgwebdir_mod.py --- a/mercurial/hgweb/hgwebdir_mod.py Mon Jun 01 22:46:05 2015 -0400 +++ b/mercurial/hgweb/hgwebdir_mod.py Tue Jun 02 13:24:39 2015 -0500 @@ -355,6 +355,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", @@ -369,7 +370,6 @@ 'isdirectory': None, } - seenrepos.add(name) yield row sortdefault = None, False