hgext/acl.py
changeset 33185 8b109c61bc11
parent 29841 d5883fd055c6
child 33186 478cb17cc610
--- 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]