Skip to content
Snippets Groups Projects
  • Yuya Nishihara's avatar
    828cf35f1de6
    subrepo: extend config option to disable subrepos by type (SEC) · 828cf35f1de6
    Yuya Nishihara authored
    This allows us to minimize the behavior change introduced by the next patch.
    
    I have no idea which config style is preferred in UX POV, but I decided to
    get things done.
    
     a) list: 'allowed = hg, git, svn'
     b) sub option: 'allowed.hg = True' or 'allowed:hg = True'
     c) per-type action: 'hg = allow', 'git = abort'
    828cf35f1de6
    History
    subrepo: extend config option to disable subrepos by type (SEC)
    Yuya Nishihara authored
    This allows us to minimize the behavior change introduced by the next patch.
    
    I have no idea which config style is preferred in UX POV, but I decided to
    get things done.
    
     a) list: 'allowed = hg, git, svn'
     b) sub option: 'allowed.hg = True' or 'allowed:hg = True'
     c) per-type action: 'hg = allow', 'git = abort'