changeset 33216:fc2baecdef1d

configitem: create a new list of each 'acl.sources' access Thanks for goes to Yuya for spotting this.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Sun, 02 Jul 2017 23:10:33 +0200
parents b7f6885cb055
children f96c2f2f559b
files hgext/acl.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/acl.py	Mon Jul 03 02:52:40 2017 +0900
+++ b/hgext/acl.py	Sun Jul 02 23:10:33 2017 +0200
@@ -219,7 +219,7 @@
     default=None,
 )
 configitem('acl', 'sources',
-    default=['serve'],
+    default=lambda: ['serve'],
 )
 
 def _getusers(ui, group):