mercurial/hgweb/hgwebdir_mod.py
changeset 29471 c4fc33c477da
parent 28954 f97a0bcfd7a1
child 29786 fc2442492606
--- a/mercurial/hgweb/hgwebdir_mod.py	Tue Jun 21 14:58:49 2016 -0700
+++ b/mercurial/hgweb/hgwebdir_mod.py	Thu Jun 30 18:59:53 2016 -0700
@@ -366,7 +366,9 @@
                            'lastchange': d,
                            'lastchange_sort': d[1]-d[0],
                            'archives': [],
-                           'isdirectory': True}
+                           'isdirectory': True,
+                           'labels': [],
+                           }
 
                     seendirs.add(name)
                     yield row
@@ -416,6 +418,7 @@
                        'lastchange_sort': d[1]-d[0],
                        'archives': archivelist(u, "tip", url),
                        'isdirectory': None,
+                       'labels': u.configlist('web', 'labels', untrusted=True),
                        }
 
                 yield row