# HG changeset patch # User Pierre-Yves David # Date 1498786017 -7200 # Node ID 8b109c61bc113fd0616365d7edf481623766f4bc # Parent 649f3b0495c8a0171a1b417533d9adc1c0a21831 configitems: register the 'acl.config' config diff -r 649f3b0495c8 -r 8b109c61bc11 hgext/acl.py --- a/hgext/acl.py Wed Jun 28 13:31:51 2017 +0200 +++ b/hgext/acl.py Fri Jun 30 03:26:57 2017 +0200 @@ -199,6 +199,7 @@ from mercurial import ( error, match, + registrar, util, ) @@ -210,6 +211,14 @@ # leave the attribute unspecified. testedwith = 'ships-with-hg-core' +configtable = {} +configitem = registrar.configitem(configtable) + +# deprecated config: acl.config +configitem('acl', 'config', + default=None, +) + def _getusers(ui, group): # First, try to use group definition from section [acl.groups]