diff tests/test-convert-git.t @ 34989:1a314176da9c stable

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.
author Gregory Szorc <gregory.szorc@gmail.com>
date Mon, 06 Nov 2017 22:32:41 -0800
parents 846942fd6d15
children 4441705b7111
line wrap: on
line diff
--- a/tests/test-convert-git.t	Mon Nov 06 14:56:17 2017 -0500
+++ b/tests/test-convert-git.t	Mon Nov 06 22:32:41 2017 -0800
@@ -8,7 +8,7 @@
   $ echo "convert=" >> $HGRCPATH
   $ cat >> $HGRCPATH <<EOF
   > [subrepos]
-  > allowed = hg, git
+  > git:allowed = true
   > EOF
   $ GIT_AUTHOR_NAME='test'; export GIT_AUTHOR_NAME
   $ GIT_AUTHOR_EMAIL='test@example.org'; export GIT_AUTHOR_EMAIL