diff hgext/acl.py @ 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 2b233065f57a
children cfb054a7ecc4
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):