hgwebdir: make collapsed folders easier to distinguish from repositories
Add a "/" character after the collapsed folder names, to make them easier to
distinguish from regular repository and subrepository entries.
--- 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="",