Patchwork [3,of,4] acl: mark deprecated config option

login
register
mail settings
Submitter Matt Mackall
Date July 6, 2015, 10:58 p.m.
Message ID <1a35d7bce493030b5a79.1436223509@ruin.waste.org>
Download mbox | patch
Permalink /patch/9901/
State Accepted
Headers show

Comments

Matt Mackall - July 6, 2015, 10:58 p.m.
# HG changeset patch
# User Matt Mackall <mpm@selenic.com>
# Date 1435271806 18000
#      Thu Jun 25 17:36:46 2015 -0500
# Node ID 1a35d7bce493030b5a799f3408b150d9aa015216
# Parent  8908ef1715644db25d3d05aa8848e1bebd17e3b2
acl: mark deprecated config option

This option has been undocumented since day 0.

Patch

diff -r 8908ef171564 -r 1a35d7bce493 hgext/acl.py
--- a/hgext/acl.py	Thu Jun 25 17:35:57 2015 -0500
+++ b/hgext/acl.py	Thu Jun 25 17:36:46 2015 -0500
@@ -286,6 +286,7 @@ 
 
     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',