hgweb - Mercurial web interface readable folder names -
i've set mercurial server , default mercurial web interface. i've set collapse alternative true can see folder hierarchy when viewing repositories in web interface. know can set name, description, contact etc. each repository , stuff shown in web interface. possible same folders?
found reply in mercurial sources.
here can see contact , description fields empty directories:
# add together '/' name create obvious # entry directory, not regular repository row = {'contact': "", 'contact_sort': "", 'name': name + '/', 'name_sort': name, 'url': url, 'description': "", 'description_sort': "", 'lastchange': d, 'lastchange_sort': d[1]-d[0], 'archives': [], 'isdirectory': true} seendirs.add(name) yield row when seek cheat , create empty .hg folder yourself, mercurial treat folder mercurial repository , when seek open folder in web interface, you'll see repository overview instead of directory listing.
so, can't want without modifying sources.
mercurial hgweb
No comments:
Post a Comment