diff mercurial/hgweb/hgwebdir_mod.py @ 25399:724d7982b790

merge with stable
author Matt Mackall <mpm@selenic.com>
date Tue, 02 Jun 2015 13:24:39 -0500
parents ef36536abea3 78e8890cfb4b
children d0c7ffc4c8bc
line wrap: on
line diff
--- 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