mercurial/hgweb/hgwebdir_mod.py
changeset 17838 d51364b318ea
parent 17104 5a9acb0b2086
child 18046 40374059d227
child 18191 e4f17956f45a
--- a/mercurial/hgweb/hgwebdir_mod.py	Thu Oct 18 10:31:15 2012 +0900
+++ b/mercurial/hgweb/hgwebdir_mod.py	Thu Jul 26 21:29:39 2012 +0200
@@ -293,9 +293,11 @@
                     except OSError:
                         continue
 
+                    # add '/' to the name to make it obvious that
+                    # the entry is a directory, not a regular repository
                     row = dict(contact="",
                                contact_sort="",
-                               name=name,
+                               name=name + '/',
                                name_sort=name,
                                url=url,
                                description="",