diff -r 828cf35f1de6 -r 846942fd6d15 mercurial/subrepo.py --- a/mercurial/subrepo.py Sun Nov 05 21:48:58 2017 +0900 +++ b/mercurial/subrepo.py Sun Nov 05 21:51:42 2017 +0900 @@ -366,7 +366,7 @@ raise error.Abort(_("subrepo '%s' traverses symbolic link") % path) def _checktype(ui, kind): - if kind not in ui.configlist('subrepos', 'allowed', ['hg', 'git', 'svn']): + if kind not in ui.configlist('subrepos', 'allowed', ['hg']): raise error.Abort(_("subrepo type %s not allowed") % kind, hint=_("see 'hg help config.subrepos' for details")) if kind not in types: