subrepo: use per-type config options to enable subrepos
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.
Showing
- mercurial/configitems.py 9 additions, 0 deletionsmercurial/configitems.py
- mercurial/help/config.txt 33 additions, 13 deletionsmercurial/help/config.txt
- mercurial/subrepo.py 16 additions, 2 deletionsmercurial/subrepo.py
- tests/test-convert-git.t 1 addition, 1 deletiontests/test-convert-git.t
- tests/test-mq-subrepo-svn.t 2 additions, 1 deletiontests/test-mq-subrepo-svn.t
- tests/test-subrepo-git.t 7 additions, 15 deletionstests/test-subrepo-git.t
- tests/test-subrepo-svn.t 2 additions, 2 deletionstests/test-subrepo-svn.t
- tests/test-subrepo.t 18 additions, 8 deletionstests/test-subrepo.t
Loading
Please register or sign in to comment