mercurial/hgweb/hgwebdir_mod.py
branchstable
changeset 25396 78e8890cfb4b
parent 22634 e48a5d3996c2
child 25399 724d7982b790
child 25426 5f3666da6910
--- 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