[issue3162] make hgwebdir pick up nested configuration files
Willem Verstraeten
bugs at mercurial.selenic.com
Mon Dec 19 08:46:51 CST 2011
New submission from Willem Verstraeten <willem.verstraeten at gmail.com>:
Using hgwebdir, we are currently serving repositories like this :
repositories
|-- mirrors #mirrors of external projects
| `-- apache
| |-- ant
| `-- lucene
`-- internal
|-- one
`-- two
For our internal repositories, we use a set of hooks to ensure several
properties of commits, which we don't need for the external repositories
that we mirror.
Hgwebdir however only allows one configuration file, so all hooks are common
to all repositories.
Ideally I'd love hgweb to pick up a hgweb.config file in the mirrors/apache
directory, and apply the settings in that config file to all repositories
underneath that directory.
I know I can override hooks and other settings per repository *by editing
the .hg/hgrc file of that repository), but I'd like a more global approach.
----------
messages: 18353
nosy: willemv
priority: feature
status: unread
title: make hgwebdir pick up nested configuration files
____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue3162>
____________________________________________________
More information about the Mercurial-devel
mailing list