##// END OF EJS Templates
configitems: register the 'acl.config' config
marmoute -
r33182:8b109c61 default
parent child Browse files
Show More
@@ -199,6 +199,7 b' from mercurial.i18n import _'
199 from mercurial import (
199 from mercurial import (
200 error,
200 error,
201 match,
201 match,
202 registrar,
202 util,
203 util,
203 )
204 )
204
205
@@ -210,6 +211,14 b' urlreq = util.urlreq'
210 # leave the attribute unspecified.
211 # leave the attribute unspecified.
211 testedwith = 'ships-with-hg-core'
212 testedwith = 'ships-with-hg-core'
212
213
214 configtable = {}
215 configitem = registrar.configitem(configtable)
216
217 # deprecated config: acl.config
218 configitem('acl', 'config',
219 default=None,
220 )
221
213 def _getusers(ui, group):
222 def _getusers(ui, group):
214
223
215 # First, try to use group definition from section [acl.groups]
224 # First, try to use group definition from section [acl.groups]
General Comments 0
You need to be logged in to leave comments. Login now