acl: mark deprecated config option

This option has been undocumented since day 0.
This commit is contained in:
Matt Mackall 2015-06-25 17:36:46 -05:00
parent 92ac7a79d1
commit 0dd375ec19

View File

@ -286,6 +286,7 @@ def hook(ui, repo, hooktype, node=None, source=None, **kwargs):
ui.debug('acl: checking access for user "%s"\n' % user)
# deprecated config: acl.config
cfg = ui.config('acl', 'config')
if cfg:
ui.readconfig(cfg, sections=['acl.groups', 'acl.allow.branches',