sapling/mercurial/hgweb
Matt Harbison 27ca0a8a5b hgwebdir: add support for explicit index files
This is useful for when repositories are nested in --web-conf, and in the future
with hosted subrepositories.  The previous behavior was only to render an index
at each virtual directory.  There is now an explicit 'index' child for each
virtual directory.  The name was suggested by Yuya, for consistency with the
other method names.

Additionally, there is now an explicit 'index' child for every repository
directory with a nested repository somewhere below it.  This seems more
consistent with each virtual directory hosting an index, and more discoverable
than to only have an index for a directory that directly hosts a nested
repository.  I couldn't figure out how to close the loop and provide one in each
directory without a deeper nested repository, without blocking a committed
'index' file.  Keeping that seems better than rendering an empty index.
2017-03-05 22:22:32 -05:00
..
__init__.py server: move service factory from hgweb 2016-10-15 14:09:36 +09:00
common.py hgweb: explicitly tests for None 2017-03-15 15:11:04 -07:00
hgweb_mod.py hgweb: support Content Security Policy 2017-01-10 23:37:08 -08:00
hgwebdir_mod.py hgwebdir: add support for explicit index files 2017-03-05 22:22:32 -05:00
protocol.py protocol: send application/mercurial-0.2 responses to capable clients 2016-12-24 15:29:32 -07:00
request.py hgweb: use absolute_import 2015-10-31 22:07:40 +09:00
server.py py3: replace os.name with pycompat.osname (part 1 of 2) 2016-12-19 00:16:52 +05:30
webcommands.py hgweb: explictly pass basectx in webutil.diffs 2017-01-17 17:25:48 +01:00
webutil.py py3: add __bool__ to every class defining __nonzero__ 2017-03-13 12:40:14 -07:00
wsgicgi.py py3: replace os.environ with encoding.environ (part 3 of 5) 2016-12-18 01:54:36 +05:30