mercurial/hgweb/hgwebdir_mod.py
changeset 25399 724d7982b790
parent 25083 ef36536abea3
parent 25396 78e8890cfb4b
child 25427 d0c7ffc4c8bc
--- 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