equal
deleted
inserted
replaced
72 return |
72 return |
73 |
73 |
74 user = getpass.getuser() |
74 user = getpass.getuser() |
75 cfg = ui.config('acl', 'config') |
75 cfg = ui.config('acl', 'config') |
76 if cfg: |
76 if cfg: |
77 ui.readsections(cfg, 'acl.allow', 'acl.deny') |
77 ui.readconfig(cfg, sections = ['acl.allow', 'acl.deny']) |
78 allow = buildmatch(ui, repo, user, 'acl.allow') |
78 allow = buildmatch(ui, repo, user, 'acl.allow') |
79 deny = buildmatch(ui, repo, user, 'acl.deny') |
79 deny = buildmatch(ui, repo, user, 'acl.deny') |
80 |
80 |
81 for rev in xrange(repo[node], len(repo)): |
81 for rev in xrange(repo[node], len(repo)): |
82 ctx = repo[rev] |
82 ctx = repo[rev] |