mirror of
https://github.com/facebook/sapling.git
synced 2024-10-06 23:07:18 +03:00
acl: mark deprecated config option
This option has been undocumented since day 0.
This commit is contained in:
parent
92ac7a79d1
commit
0dd375ec19
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user