sapling/mercurial/hgweb
Matt Harbison a1a73ad1ab hgwebdir: don't allow the hidden parent of a subrepo to show as a directory
Previously, if a subrepo parent had 'web.hidden=True' set, neither the parent
nor child had a repository entry.  However, the directory entry for the parent
would be listed (it wouldn't have the fancy 'web.name' if configured), and that
link went to the repo's summary page, effectively making it not hidden.

This simply disables the directory processing if a valid repository is present.
Whether or not the subrepo should be hidden is debatable, but this leaves that
behavior unchanged (i.e. it stays hidden).
2015-06-01 18:06:20 -04:00
..
__init__.py hgweb: make hgweb.hgweb a unified interface to hgweb/hgwebdir 2010-04-26 11:03:40 -05:00
common.py hgweb: refresh hgweb.repo on phase change (issue4061) 2014-09-27 21:59:55 +09:00
hgweb_mod.py merge with stable 2014-09-29 17:23:38 -05:00
hgwebdir_mod.py hgwebdir: don't allow the hidden parent of a subrepo to show as a directory 2015-06-01 18:06:20 -04:00
protocol.py wireproto: introduce an abstractserverproto class 2014-03-28 11:10:33 -07:00
request.py hgweb: pass the actual response body to request.response, not just the length 2013-01-15 01:07:03 +01:00
server.py hgweb: send proper HTTP response after uncaught exception 2014-11-28 10:59:02 -08:00
webcommands.py webcommands: fix description of manifest default behavior 2015-04-27 19:13:55 -03:00
webutil.py hgweb: expose raw line numbers to templates 2015-04-10 22:34:12 -04:00
wsgicgi.py hgweb.cgi: fix internal WSGI emulation (issue3804) 2013-02-04 23:25:25 +01:00