Skip to content

Merging webdir conf with global hgrc to make hgserve params tweakable.

Global parameters, i.e, those that aren't tied to a given repository are read from the config file passed at startup.

After reading the relevant code in hgwebdir_mod, it's clear that this file has only one thing special: [paths] is remapped to [hgweb-paths], the true section name.

Therefore, merging the two configuration files looks like the thing to do, provided the paths for hgserve are exposed in a [hgweb-paths] section.

Having a single configuration file will also help us un-hardcode such things when we'll start supporting plain Omnibus installs.

--HG-- branch : heptapod-0-6-stable

Merge request reports