Skip to content
Snippets Groups Projects
  • Gregory Szorc's avatar
    1a314176da9c
    subrepo: use per-type config options to enable subrepos · 1a314176da9c
    Gregory Szorc authored
    We change subrepos.allowed from a list of allowed subrepo types to
    a combination of a master switch and per-type boolean flag.
    
    If the master switch is set, subrepos can be disabled wholesale.
    
    If subrepos are globally enabled, then per-type options are
    consulted. Mercurial repos are enabled by default. Everything else
    is disabled by default.
    1a314176da9c
    History
    subrepo: use per-type config options to enable subrepos
    Gregory Szorc authored
    We change subrepos.allowed from a list of allowed subrepo types to
    a combination of a master switch and per-type boolean flag.
    
    If the master switch is set, subrepos can be disabled wholesale.
    
    If subrepos are globally enabled, then per-type options are
    consulted. Mercurial repos are enabled by default. Everything else
    is disabled by default.