Show More
@@ -219,7 +219,7 b" configitem('acl', 'config'," | |||
|
219 | 219 | default=None, |
|
220 | 220 | ) |
|
221 | 221 | configitem('acl', 'sources', |
|
222 | default='serve', | |
|
222 | default=['serve'], | |
|
223 | 223 | ) |
|
224 | 224 | |
|
225 | 225 | def _getusers(ui, group): |
@@ -292,7 +292,7 b' def hook(ui, repo, hooktype, node=None, ' | |||
|
292 | 292 | raise error.Abort(_('config error - hook type "%s" cannot stop ' |
|
293 | 293 | 'incoming changesets nor commits') % hooktype) |
|
294 | 294 | if (hooktype == 'pretxnchangegroup' and |
|
295 |
source not in ui.config('acl', 'sources') |
|
|
295 | source not in ui.configlist('acl', 'sources')): | |
|
296 | 296 | ui.debug('acl: changes have source "%s" - skipping\n' % source) |
|
297 | 297 | return |
|
298 | 298 |
General Comments 0
You need to be logged in to leave comments.
Login now